24#ifndef INCLUDED_OSL_SECURITY_H 
   25#define INCLUDED_OSL_SECURITY_H 
   71    rtl_uString *strUserName,
 
   72    rtl_uString *strPasswd,
 
   89    rtl_uString *strUserName,
 
   90    rtl_uString *strPasswd,
 
   91    rtl_uString *strFileServer,
 
#define SAL_DLLPUBLIC
Definition saldllapi.h:34
#define SAL_MAX_ENUM
Definition types.h:205
unsigned char sal_Bool
Definition types.h:38
SAL_DLLPUBLIC void osl_unloadUserProfile(oslSecurity Security)
Unload a User Profile Implemented just for Windows.
oslSecurityError
Definition security.h:36
@ osl_Security_E_UserUnknown
Definition security.h:38
@ osl_Security_E_Unknown
Definition security.h:40
@ osl_Security_E_WrongPassword
Definition security.h:39
@ osl_Security_E_FORCE_EQUAL_SIZE
Definition security.h:41
@ osl_Security_E_None
Definition security.h:37
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:49
SAL_DLLPUBLIC oslSecurityError osl_loginUser(rtl_uString *strUserName, rtl_uString *strPasswd, oslSecurity *pSecurity)
Deprecated API Create a security handle for the denoted user.