20 #ifndef _OSL_SECURITY_DECL_HXX_
21 #define _OSL_SECURITY_DECL_HXX_
108 #endif // _OSL_SECURITY_HXX_
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:87
Security()
constructor
Definition: security.hxx:32
capsulate security information for one user.
Definition: security_decl.hxx:34
sal_Bool getUserName(rtl::OUString &strName) const
get the name of the logged in user.
Definition: security.hxx:71
sal_Bool getUserIdent(rtl::OUString &strIdent) const
get the ident of the logged in user.
Definition: security.hxx:65
oslSecurity getHandle() const
Returns the underlying oslSecurity handle.
Definition: security.hxx:93
sal_Bool getConfigDir(rtl::OUString &strDirectory) const
get the directory for configuration data of the logged in user.
Definition: security.hxx:83
sal_Bool getHomeDir(rtl::OUString &strDirectory) const
get the home directory of the logged in user.
Definition: security.hxx:77
sal_Bool logonUser(const rtl::OUString &strName, const rtl::OUString &strPasswd)
get the security information for one user.
Definition: security.hxx:42
unsigned char sal_Bool
Definition: types.h:37
oslSecurity m_handle
Definition: security_decl.hxx:37
~Security()
destructor
Definition: security.hxx:37
void * oslSecurity
Process handle.
Definition: security.h:45
sal_Bool isAdministrator() const
Query if the user who is logged inhas administrator rigths.
Definition: security.hxx:88