Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PROTECTED MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
virtual | abstract | interface | template |
NO | NO | NO | NO |
Methods |
|
Security( ); |
constructor |
~Security( ); |
destructor |
sal_Bool logonUser( const ::rtl::OUString & strName, const ::rtl::OUString & strPasswd ); |
get the security information for one user. The underlying operating system is asked for this information. |
sal_Bool logonUser( const ::rtl::OUString & strName, const ::rtl::OUString & strPasswd, const ::rtl::OUString & strFileServer ); |
|
sal_Bool getUserIdent( ::rtl::OUString & strIdent ) const; |
get the ident of the logged in user. |
sal_Bool getUserName( ::rtl::OUString & strName ) const; |
get the name of the logged in user. |
sal_Bool getHomeDir( ::rtl::OUString & strDirectory ) const; |
get the home directory of the logged in user. |
sal_Bool getConfigDir( ::rtl::OUString & strDirectory ) const; |
get the directory for configuration data of the logged in user. |
sal_Bool isAdministrator( ) const; |
Query if the user who is logged inhas administrator rigths. |
oslSecurity getHandle( ) const; |
Returns the underlying oslSecurity handle |
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.