Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 LsaLookupPrivilegeValue(
LSA_HANDLE PolicyHandle,
PLSA_UNICODE_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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | ntlsa.h |
Library | Advapi32.lib |
DLL | Advapi32.dll |