LsaLookupPrivilegeValue function
Retrieves the locally unique identifier (LUID) used by the Local Security Authority (LSA) to represent the specified privilege name.
This function is not declared in a public header.
Do not use this function. Instead, use LookupPrivilegeValue.
Syntax
NTSTATUS WINAPI LsaLookupPrivilegeValue( LSA_HANDLE PolicyHandle, PUNICODE_STRING Name, PLUID Value );
Parameters
- PolicyHandle
-
A handle to the LSA Policy object.
- Name
-
A pointer to a null-terminated string that specifies the name of the privilege, as defined in the Winnt.h header file.
- Value
-
A pointer to a variable that receives the LUID by which the privilege is known by the LSA.
Return value
If the function succeeds, return STATUS_SUCCESS.
If the function fails, return an NTSTATUS code that indicates the reason it failed.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Library |
|
|
DLL |
|