18.104.22.168.3 LsarLookupPrivilegeName (Opnum 32)
NTSTATUS LsarLookupPrivilegeName( [in] LSAPR_HANDLE PolicyHandle, [in] PLUID Value, [out] PRPC_UNICODE_STRING* Name );
Value: A LUID that the caller wishes to map to a string name.
Name: Used to return the string name corresponding to the supplied LUID.
Return Values: The following is a summary of the return values that an implementation MUST return, as specified by the message processing that follows.
The request was successfully completed.
The caller does not have the permissions to perform this operation.
The supplied LUID is not recognized by the server.
PolicyHandle is not a valid handle.
This message takes three arguments:
PolicyHandle: An open handle to the policy object. If the handle is not a valid context handle to the policy object or PolicyHandle.HandleType does not equal "Policy", the server MUST return STATUS_INVALID_HANDLE. The server MUST verify that PolicyHandle grants access as specified in section 22.214.171.124.2 with RequiredAccess set to POLICY_LOOKUP_NAMES.
Value: The LUID of the privilege.
Name: Used to return the name corresponding to the LUID contained in the Value argument.
If the LUID in the Value argument is not recognized by the server, the server MUST fail the request with STATUS_NO_SUCH_PRIVILEGE. The privileges recognized by the server are specified in section 126.96.36.199.1.