SecurityDescriptorCommandsBase.GetAllCentralAccessPolicies(PSObject) Method

Definition

Gets the names and IDs of all central access policies available on the machine.

public:
 static cli::array <System::String ^> ^ GetAllCentralAccessPolicies(System::Management::Automation::PSObject ^ instance);

Parameters

instance
PSObject

The PSObject argument is ignored.

Returns

String[]

The names and IDs of all central access policies available on the machine.

Remarks

Function 'LsaQueryCAPs' is not available in OneCoreUAP and NanoServer.

Applies to