Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 9232

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>class Security</title>
<link rel="stylesheet" type="text/css" href="../../cpp.css">
</head>
<body>
<div id="adc-cppref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0">
<tr align="center" valign="top">
<td class="navimain">&nbsp;<a href="../../index.html">Overview</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="index.html">Namespace</a>&nbsp;</td>
<td class="navimainself">&nbsp;Class&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../index-files/index-1.html">Index</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../help.html">Help</a>&nbsp;</td>
</tr>
</table>
<table class="navisub" cellpadding="0" cellspacing="3">
<tr>
<td width="20%"><font size="-2">PUBLIC MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<font size="-2">DATA</font>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
<tr>
<td width="20%"><font size="-2">PROTECTED MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<font size="-2">METHODS</font>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<a href="#prot_vars"><font size="-2"><b>DATA</b></font></a>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
</table>
<hr>
<a href="../../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <a href="index.html" alt="namespace"><font size="+1"><b>osl</b></font></a><font size="+1"> :: </font><div class="title"><h2>class Security</h2>
</div><hr>
<dl>
<dt>Base Classes</dt>
<dd>None.</dd>
</dl>
<dl>
<dt>Known Derived Classes</dt>
<dd>None.</dd>
</dl>
<br>
<table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="25%" class="flagname">virtual</td>
<td width="25%" class="flagname">abstract</td>
<td width="25%" class="flagname">interface</td>
<td width="25%" class="flagname">template</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<dl>
<dt>Description</dt>
<dd><pre>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. 
</pre></dd>
<dt>See Also</dt>
<dd>Process::executeProcess <br>
</dd>
</dl>
<dl>
<dt>File</dt>
<dd>security_decl.hxx</dd>
</dl>
<hr>
<dl>
<dt class="subtitle"><a name="publ_"><h3>Public Members</h3>
</a></dt>
<dd><a name="publ_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Methods</h4>
</td>
</tr>
<tr>
<td> <br>
<a href="Security/o.html#Security-128">Security</a>( );</td>
<td width="50%"> constructor</td>
</tr>
<tr>
<td> <br>
<a href="Security/o.html#~Security-129">~Security</a>( );</td>
<td width="50%"> destructor</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Security/o.html#logonUser-130">logonUser</a>( const ::rtl::OUString &amp; strName, const ::rtl::OUString &amp; strPasswd );</td>
<td width="50%"> get the security information for one user. 
The underlying operating system is asked for this information.
</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Security/o.html#logonUser-131">logonUser</a>( const ::rtl::OUString &amp; strName, const ::rtl::OUString &amp; strPasswd, const ::rtl::OUString &amp; strFileServer );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Security/o.html#getUserIdent-132">getUserIdent</a>( ::rtl::OUString &amp; strIdent ) const;</td>
<td width="50%"> get the ident of the logged in user.
</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Security/o.html#getUserName-133">getUserName</a>( ::rtl::OUString &amp; strName ) const;</td>
<td width="50%"> get the name of the logged in user.
</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Security/o.html#getHomeDir-134">getHomeDir</a>( ::rtl::OUString &amp; strDirectory ) const;</td>
<td width="50%"> get the home directory of the logged in user.
</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Security/o.html#getConfigDir-135">getConfigDir</a>( ::rtl::OUString &amp; strDirectory ) const;</td>
<td width="50%"> get the directory for configuration data of the logged in user.
</td>
</tr>
<tr>
<td>sal_Bool <br>
<a href="Security/o.html#isAdministrator-136">isAdministrator</a>( ) const;</td>
<td width="50%"> Query if the user who is logged inhas administrator rigths.
</td>
</tr>
<tr>
<td>oslSecurity <br>
<a href="Security/o.html#getHandle-137">getHandle</a>( ) const;</td>
<td width="50%"> Returns the underlying oslSecurity handle
</td>
</tr>
</table>
<hr>
</dd>
</dl>
<dl>
<dt class="subtitle"><a name="prot_"><h3>Protected Members</h3>
</a></dt>
<dd><a name="prot_vars"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Data</h4>
</td>
</tr>
<tr bgcolor="white">
<td><a href="../t-oslSecurity.html">oslSecurity</a> <a href="Security/d.html#m_handle"><strong>m_handle;</strong></a></td>
<td/></tr>
</table>
<hr>
</dd>
</dl>
<a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-cppref" -->
</body>

</html>