My Project
UDK 3.2.7 C/C++ API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
osl
security_decl.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#ifndef _OSL_SECURITY_DECL_HXX_
21
#define _OSL_SECURITY_DECL_HXX_
22
23
#include <
rtl/ustring.hxx
>
24
# include <
osl/security.h
>
25
26
namespace
osl
27
{
28
34
class
Security
35
{
36
protected
:
37
oslSecurity
m_handle
;
38
39
public
:
41
inline
Security
();
43
inline
~Security
();
51
inline
sal_Bool
SAL_CALL
logonUser
(
const
rtl::OUString
& strName,
52
const
rtl::OUString
& strPasswd);
63
inline
sal_Bool
SAL_CALL
logonUser
(
const
rtl::OUString
& strName,
64
const
rtl::OUString
& strPasswd,
65
const
rtl::OUString
& strFileServer);
66
71
inline
sal_Bool
SAL_CALL
getUserIdent
(
rtl::OUString
& strIdent)
const
;
72
77
inline
sal_Bool
SAL_CALL
getUserName
(
rtl::OUString
& strName)
const
;
78
83
inline
sal_Bool
SAL_CALL
getHomeDir
(
rtl::OUString
& strDirectory)
const
;
84
89
inline
sal_Bool
SAL_CALL
getConfigDir
(
rtl::OUString
& strDirectory)
const
;
90
94
inline
sal_Bool
SAL_CALL
isAdministrator
()
const
;
95
98
inline
oslSecurity
getHandle
()
const
;
99
100
};
101
102
}
103
104
#endif // _OSL_SECURITY_HXX_
105
106
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Sat Oct 25 2014 23:06:25 for My Project by
1.8.3