CL_SecurityIdentifier Class Reference
[clanCore I/O Data]

Security identifier. More...

#include <security_identifier.h>

List of all members.

Public Member Functions

Attributes

CL_String get_name () const
 Get friendly name of security identifier.
CL_String get_domain_name () const
 Get domain name identifier belongs to.
Type get_type () const
 Get security identifier type.
Operations

CL_SecurityIdentifieroperator= (const CL_SecurityIdentifier &copy)

Construction



enum  Type {
  type_user, type_group, type_domain, type_alias,
  type_well_known_group, type_deleted_account, type_invalid, type_unknown,
  type_computer
}
 

Security identifier types.

More...
 CL_SecurityIdentifier (const CL_String &name)
 Constructs a SecurityIdentifier.
 CL_SecurityIdentifier (const CL_String &name, Type type)
 Constructs a SecurityIdentifier.
 CL_SecurityIdentifier (unsigned int sid, Type type)
 Constructs a SecurityIdentifier.
 CL_SecurityIdentifier (const CL_SecurityIdentifier &copy)
 Constructs a SecurityIdentifier.
 ~CL_SecurityIdentifier ()
static CL_SecurityIdentifier get_thread_user ()
 Get Thread user.
static CL_SecurityIdentifier get_thread_group ()
 Get Thread group.

Detailed Description

Security identifier.


Member Enumeration Documentation

Security identifier types.

Enumerator:
type_user 
type_group 
type_domain 
type_alias 
type_well_known_group 
type_deleted_account 
type_invalid 
type_unknown 
type_computer 

Constructor & Destructor Documentation

CL_SecurityIdentifier::CL_SecurityIdentifier ( const CL_String name  ) 

Constructs a SecurityIdentifier.

Parameters:
name = String
CL_SecurityIdentifier::CL_SecurityIdentifier ( const CL_String name,
Type  type 
)

Constructs a SecurityIdentifier.

Parameters:
name = String
type = Type
CL_SecurityIdentifier::CL_SecurityIdentifier ( unsigned int  sid,
Type  type 
)

Constructs a SecurityIdentifier.

Parameters:
sid = value
type = Type
CL_SecurityIdentifier::CL_SecurityIdentifier ( const CL_SecurityIdentifier copy  ) 

Constructs a SecurityIdentifier.

Parameters:
copy = Security Identifier
CL_SecurityIdentifier::~CL_SecurityIdentifier (  ) 

Member Function Documentation

CL_String CL_SecurityIdentifier::get_domain_name (  )  const

Get domain name identifier belongs to.

CL_String CL_SecurityIdentifier::get_name (  )  const

Get friendly name of security identifier.

static CL_SecurityIdentifier CL_SecurityIdentifier::get_thread_group (  )  [static]

Get Thread group.

Returns:
thread_group
static CL_SecurityIdentifier CL_SecurityIdentifier::get_thread_user (  )  [static]

Get Thread user.

Returns:
thread_user
Type CL_SecurityIdentifier::get_type (  )  const

Get security identifier type.

CL_SecurityIdentifier& CL_SecurityIdentifier::operator= ( const CL_SecurityIdentifier copy  ) 

The documentation for this class was generated from the following file: