SidName
Resolved Windows account identity.
Class Methods
lookup value
Resolves an account name or Sid in the active VFS target.
Parameters:
| Name | Type | Description |
|---|---|---|
value |
Str|Sid |
Account name or SID |
Returns: SidName
Errors:
- Raises
sys.NotFoundErrorwhen the identity is unmapped. - Raises
UnsupportedErrorfor Unix targets.
Fields
sid
Resolved Sid.
name
Unqualified account name.
domain
Account domain returned by Windows.
qualified_name
The domain\name form, or name when the domain is empty.
kind
Windows SID name-use classification as an uppercase symbol.
| Value | Meaning |
|---|---|
:USER: |
User SID |
:GROUP: |
Group SID |
:DOMAIN: |
Domain SID |
:ALIAS: |
Alias SID |
:WELL_KNOWN_GROUP: |
Well-known group SID |
:DELETED_ACCOUNT: |
Deleted account SID |
:INVALID: |
Invalid SID |
:UNKNOWN: |
SID of an unknown type |
:COMPUTER: |
Computer SID |
:LABEL: |
Mandatory integrity label SID |
:LOGON_SESSION: |
Logon session SID |