Export (0) Print
Expand All

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 clientWindows Vista
Minimum supported serverWindows Server 2008
LibraryAdvapi32.lib
DLLAdvapi32.dll

Send comments about this topic to Microsoft

Build date: 6/9/2009

Community Additions

Show:
© 2014 Microsoft