20 #ifndef INCLUDED_OSL_SECURITY_H 21 #define INCLUDED_OSL_SECURITY_H 67 rtl_uString *strUserName,
68 rtl_uString *strPasswd,
69 oslSecurity *pSecurity
85 rtl_uString *strUserName,
86 rtl_uString *strPasswd,
87 rtl_uString *strFileServer,
88 oslSecurity *pSecurity
96 oslSecurity Security);
103 oslSecurity Security);
111 oslSecurity Security, rtl_uString **strIdent);
119 oslSecurity Security, rtl_uString **strName);
129 oslSecurity Security, rtl_uString **strName);
137 oslSecurity Security, rtl_uString **strDirectory);
145 oslSecurity Security, rtl_uString **strDirectory);
155 oslSecurity Security);
165 oslSecurity Security);
171 #endif // INCLUDED_OSL_SECURITY_H 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...
Definition: security.h:35
SAL_DLLPUBLIC sal_Bool osl_getConfigDir(oslSecurity Security, rtl_uString **strDirectory)
Get the directory for configuration data of the user of this security handle.
Definition: security.h:37
#define SAL_DLLPUBLIC
Definition: saldllapi.h:30
void * oslSecurity
Process handle.
Definition: security.h:45
SAL_DLLPUBLIC sal_Bool osl_getUserIdent(oslSecurity Security, rtl_uString **strIdent)
Get the login ident for the user of this security handle.
SAL_DLLPUBLIC oslSecurity osl_getCurrentSecurity(void)
Create a security handle for the current user.
oslSecurityError
Definition: security.h:32
unsigned char sal_Bool
Definition: types.h:39
SAL_DLLPUBLIC oslSecurityError osl_loginUser(rtl_uString *strUserName, rtl_uString *strPasswd, oslSecurity *pSecurity)
Deprecated API Create a security handle for the denoted user.
SAL_DLLPUBLIC sal_Bool osl_isAdministrator(oslSecurity Security)
Query if the user who is denotes by this security has administrator rights.
Definition: security.h:36
SAL_DLLPUBLIC sal_Bool osl_loadUserProfile(oslSecurity Security)
Load Profile of the User Implemented just for Windows.
SAL_DLLPUBLIC void osl_freeSecurityHandle(oslSecurity Security)
Free the security handle, created by osl_loginUser or osl_getCurrentSecurity.
SAL_DLLPUBLIC sal_Bool osl_getHomeDir(oslSecurity Security, rtl_uString **strDirectory)
Get the home directory of the user of this security handle.
Definition: security.h:34
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 sal_Bool osl_getUserName(oslSecurity Security, rtl_uString **strName)
Get the login name for the user of this security handle.
#define SAL_MAX_ENUM
Definition: types.h:228
SAL_DLLPUBLIC void osl_unloadUserProfile(oslSecurity Security)
Unload a User Profile Implemented just for Windows.
Definition: security.h:33