Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
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
:: osl ::
class Security
Base Classes
None.
Known Derived Classes
None.
virtual
abstract
interface
template
NO
NO
NO
NO
Description
capsulate security informations for one user.
A object of this class is used to execute a process with the rights an
security options of a scecified user.
See Also
Process::executeProcess
File
security_decl.hxx
Public Members
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
Protected Members
Top of Page Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.