4 #ifndef INCLUDED_OSL_SECURITY_H
5 #define INCLUDED_OSL_SECURITY_H
51 rtl_uString *strUserName,
52 rtl_uString *strPasswd,
53 oslSecurity *pSecurity
69 rtl_uString *strUserName,
70 rtl_uString *strPasswd,
71 rtl_uString *strFileServer,
72 oslSecurity *pSecurity
80 oslSecurity Security);
87 oslSecurity Security);
95 oslSecurity Security, rtl_uString **strIdent);
103 oslSecurity Security, rtl_uString **strName);
113 oslSecurity Security, rtl_uString **strName);
121 oslSecurity Security, rtl_uString **strDirectory);
129 oslSecurity Security, rtl_uString **strDirectory);
139 oslSecurity Security);
148 oslSecurity Security);
154 #endif // INCLUDED_OSL_SECURITY_H
unsigned char sal_Bool
Definition: types.h:18
SAL_DLLPUBLIC sal_Bool osl_isAdministrator(oslSecurity Security)
Query if the user who is denotes by this security has administrator rights.
SAL_DLLPUBLIC sal_Bool osl_getHomeDir(oslSecurity Security, rtl_uString **strDirectory)
Get the home directory of the user of this security handle.
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_getUserIdent(oslSecurity Security, rtl_uString **strIdent)
Get the login ident for the user of this security handle.
SAL_DLLPUBLIC oslSecurityError osl_loginUser(rtl_uString *strUserName, rtl_uString *strPasswd, oslSecurity *pSecurity)
Deprecated API Create a security handle for the denoted user.
Definition: security.h:21
oslSecurityError
Definition: security.h:16
Definition: security.h:18
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_getConfigDir(oslSecurity Security, rtl_uString **strDirectory)
Get the directory for configuration data of the user of this security handle.
void * oslSecurity
Process handle.
Definition: security.h:29
SAL_DLLPUBLIC void osl_freeSecurityHandle(oslSecurity Security)
Free the security handle, created by osl_loginUser or osl_getCurrentSecurity.
Definition: security.h:17
#define SAL_MAX_ENUM
Definition: types.h:185
Definition: security.h:20
SAL_DLLPUBLIC oslSecurity osl_getCurrentSecurity(void)
Create a security handle for the current user.
SAL_DLLPUBLIC sal_Bool osl_getUserName(oslSecurity Security, rtl_uString **strName)
Get the login name for the user of this security handle.
SAL_DLLPUBLIC void osl_unloadUserProfile(oslSecurity Security)
Unload a User Profile Implemented just for Windows.
SAL_DLLPUBLIC sal_Bool osl_loadUserProfile(oslSecurity Security)
Load Profile of the User Implemented just for Windows.
Definition: security.h:19
#define SAL_DLLPUBLIC
Definition: saldllapi.h:14