LibreOffice
LibreOffice 6.4 SDK C/C++ API Reference
|
Go to the documentation of this file.
20 #ifndef INCLUDED_OSL_SECURITY_DECL_HXX
21 #define INCLUDED_OSL_SECURITY_DECL_HXX
127 #endif // INCLUDED_OSL_SECURITY_DECL_HXX
bool getUserName(rtl::OUString &strName, bool bIncludeDomain=true) const
get the name of the logged in user.
Definition: security.hxx:72
bool isAdministrator() const
Query if the user who is logged in has administrator rights.
Definition: security.hxx:91
This String class provides base functionality for C++ like Unicode character array handling.
Definition: ustring.hxx:127
Definition: condition.hxx:28
bool getConfigDir(rtl::OUString &strDirectory) const
get the directory for configuration data of the logged in user.
Definition: security.hxx:86
Security()
Definition: security.hxx:33
Encapsulate security information for one user.
Definition: security_decl.hxx:35
oslSecurity getHandle() const
Returns the underlying oslSecurity handle.
Definition: security.hxx:96
oslSecurity m_handle
Definition: security_decl.hxx:37
void * oslSecurity
Process handle.
Definition: security.h:45
~Security()
Definition: security.hxx:38
bool getHomeDir(rtl::OUString &strDirectory) const
get the home directory of the logged in user.
Definition: security.hxx:80
bool getUserIdent(rtl::OUString &strIdent) const
get the ident of the logged in user.
Definition: security.hxx:66
bool logonUser(const rtl::OUString &strName, const rtl::OUString &strPasswd)
get the security information for one user.
Definition: security.hxx:43