LsaQueryCAPs function
Returns the Central Access Policies (CAPs) for the specified IDs.
Syntax
NTSTATUS WINAPI LsaQueryCAPs( PSID *CAPIDs, _In_ ULONG CAPIDCount, _Out_ PCENTRAL_ACCESS_POLICY *CAPs, _Out_ PULONG CAPCount );
Parameters
- CAPIDs
-
A pointer to a variable that contains an array of pointers to CAPIDs that identify the CAPs being queried.
- CAPIDCount [in]
-
The number of IDs in the CAPIDs parameter.
- CAPs [out]
-
Receives a pointer to an array of pointers to CENTRAL_ACCESS_POLICY structures representing the queried CAPs.
- CAPCount [out]
-
The number of CENTRAL_ACCESS_POLICY structure pointers returned in the CAPs parameter.
Return value
If the function succeeds, the return value is STATUS_SUCCESS.
If the function fails, the return value is an NTSTATUS code, which can be one of the LSA Policy Function Return Values.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|