|
SecurityPolicy::GetCurrentUserId2 |
( |
[out] int |
nType, |
|
|
[out] int |
lUserId, |
|
|
[out] binary |
binSystemId, |
|
|
[out] wstring |
wstrDisplayName |
|
) |
| |
Acquire current user id.
- Parameters:
-
[out] | nType | (int) type of current user:
- 0 for internal user
- 1 for non internal user
|
[out] | lUserId | (int) current internal user id |
[out] | binSystemId | (binary) current user binary id |
[out] | wstrDisplayName | (wstring) current user display name |
For internal user: lUserId > 0;
For non internal user: lUserId = -1; binSystemId - binary representation of user SID;
|