PHP Class LdapTools\Security\SID

Author: Chad Sikorra ([email protected])
Afficher le fichier Open project: ldaptools/ldaptools Class Usage Examples

Protected Properties

Свойство Type Description
$identifierAuthority The value that indicates the authority under which the SID was created.
$revisionLevel The revision level of the SID.
$subAuthorities Sub-authority values that uniquely identify a principal relative to the identifier authority.

Méthodes publiques

Méthode Description
__construct ( string $sid )
__toString ( ) : string
getIdentifierAuthority ( ) : integer Get the value that indicates the authority under which the SID was created.
getRevisionLevel ( ) : integer Get the revision level of the SID.
getShortName ( ) : string | null Get the SDDL short name for the SID, if it has one. If it does not this will return null.
getSubAuthorities ( ) : int[] Get the array of sub-authority values that uniquely identify a principal relative to the identifier authority.
getSubAuthorityCount ( ) : integer The number of elements in the sub-authority array.
toBinary ( ) : string Get the SID in binary string form.
toString ( ) : string Get the SID in its friendly string form.

Méthodes protégées

Méthode Description
decodeFromBinary ( string $value ) Parse the binary form of a SID into its respective parts that make it up.
decodeFromString ( string $value )

Method Details

__construct() public méthode

public __construct ( string $sid )
$sid string The SID in string, short name, or binary form.

__toString() public méthode

public __toString ( ) : string
Résultat string

decodeFromBinary() protected méthode

Parse the binary form of a SID into its respective parts that make it up.
protected decodeFromBinary ( string $value )
$value string

decodeFromString() protected méthode

protected decodeFromString ( string $value )
$value string

getIdentifierAuthority() public méthode

Get the value that indicates the authority under which the SID was created.
public getIdentifierAuthority ( ) : integer
Résultat integer

getRevisionLevel() public méthode

Get the revision level of the SID.
public getRevisionLevel ( ) : integer
Résultat integer

getShortName() public méthode

Get the SDDL short name for the SID, if it has one. If it does not this will return null.
public getShortName ( ) : string | null
Résultat string | null

getSubAuthorities() public méthode

Get the array of sub-authority values that uniquely identify a principal relative to the identifier authority.
public getSubAuthorities ( ) : int[]
Résultat int[]

getSubAuthorityCount() public méthode

The number of elements in the sub-authority array.
public getSubAuthorityCount ( ) : integer
Résultat integer

toBinary() public méthode

Get the SID in binary string form.
public toBinary ( ) : string
Résultat string

toString() public méthode

Get the SID in its friendly string form.
public toString ( ) : string
Résultat string

Property Details

$identifierAuthority protected_oe property

The value that indicates the authority under which the SID was created.
protected $identifierAuthority

$revisionLevel protected_oe property

The revision level of the SID.
protected $revisionLevel

$subAuthorities protected_oe property

Sub-authority values that uniquely identify a principal relative to the identifier authority.
protected $subAuthorities