PHP Класс LdapTools\Security\SID

Автор: Chad Sikorra ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
decodeFromBinary ( string $value ) Parse the binary form of a SID into its respective parts that make it up.
decodeFromString ( string $value )

Описание методов

__construct() публичный Метод

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

__toString() публичный Метод

public __toString ( ) : string
Результат string

decodeFromBinary() защищенный Метод

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

decodeFromString() защищенный Метод

protected decodeFromString ( string $value )
$value string

getIdentifierAuthority() публичный Метод

Get the value that indicates the authority under which the SID was created.
public getIdentifierAuthority ( ) : integer
Результат integer

getRevisionLevel() публичный Метод

Get the revision level of the SID.
public getRevisionLevel ( ) : integer
Результат integer

getShortName() публичный Метод

Get the SDDL short name for the SID, if it has one. If it does not this will return null.
public getShortName ( ) : string | null
Результат string | null

getSubAuthorities() публичный Метод

Get the array of sub-authority values that uniquely identify a principal relative to the identifier authority.
public getSubAuthorities ( ) : int[]
Результат int[]

getSubAuthorityCount() публичный Метод

The number of elements in the sub-authority array.
public getSubAuthorityCount ( ) : integer
Результат integer

toBinary() публичный Метод

Get the SID in binary string form.
public toBinary ( ) : string
Результат string

toString() публичный Метод

Get the SID in its friendly string form.
public toString ( ) : string
Результат string

Описание свойств

$identifierAuthority защищенное свойство

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

$revisionLevel защищенное свойство

The revision level of the SID.
protected $revisionLevel

$subAuthorities защищенное свойство

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