4 #ifndef INCLUDED_OSL_SECURITY_H
5 #define INCLUDED_OSL_SECURITY_H
51 rtl_uString *strUserName,
52 rtl_uString *strPasswd,
69 rtl_uString *strUserName,
70 rtl_uString *strPasswd,
71 rtl_uString *strFileServer,
#define SAL_DLLPUBLIC
Definition: saldllapi.h:14
#define SAL_MAX_ENUM
Definition: types.h:185
unsigned char sal_Bool
Definition: types.h:18
SAL_DLLPUBLIC void osl_unloadUserProfile(oslSecurity Security)
Unload a User Profile Implemented just for Windows.
oslSecurityError
Definition: security.h:16
@ osl_Security_E_UserUnknown
Definition: security.h:18
@ osl_Security_E_Unknown
Definition: security.h:20
@ osl_Security_E_WrongPassword
Definition: security.h:19
@ osl_Security_E_FORCE_EQUAL_SIZE
Definition: security.h:21
@ osl_Security_E_None
Definition: security.h:17
SAL_DLLPUBLIC sal_Bool osl_getConfigDir(oslSecurity Security, rtl_uString **strDirectory)
Get the directory for configuration data of the user of this security handle.
SAL_DLLPUBLIC sal_Bool osl_getUserName(oslSecurity Security, rtl_uString **strName)
Get the login name for the user of this security handle.
SAL_DLLPUBLIC sal_Bool osl_getHomeDir(oslSecurity Security, rtl_uString **strDirectory)
Get the home directory of the user of this security handle.
SAL_DLLPUBLIC sal_Bool osl_getShortUserName(oslSecurity Security, rtl_uString **strName)
Get the login name for the user of this security handle, excluding the domain name on Windows.
SAL_DLLPUBLIC sal_Bool osl_isAdministrator(oslSecurity Security)
Query if the user who is denotes by this security has administrator rights.
SAL_DLLPUBLIC void osl_freeSecurityHandle(oslSecurity Security)
Free the security handle, created by osl_loginUser or osl_getCurrentSecurity.
SAL_DLLPUBLIC oslSecurityError osl_loginUserOnFileServer(rtl_uString *strUserName, rtl_uString *strPasswd, rtl_uString *strFileServer, oslSecurity *pSecurity)
Create a security handle for the denoted user.
SAL_DLLPUBLIC oslSecurity osl_getCurrentSecurity(void)
Create a security handle for the current user.
SAL_DLLPUBLIC sal_Bool osl_loadUserProfile(oslSecurity Security)
Load Profile of the User Implemented just for Windows.
SAL_DLLPUBLIC sal_Bool osl_getUserIdent(oslSecurity Security, rtl_uString **strIdent)
Get the login ident for the user of this security handle.
void * oslSecurity
Process handle.
Definition: security.h:29
SAL_DLLPUBLIC oslSecurityError osl_loginUser(rtl_uString *strUserName, rtl_uString *strPasswd, oslSecurity *pSecurity)
Deprecated API Create a security handle for the denoted user.