共用方式為


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);
public static string[] GetAllCentralAccessPolicies (System.Management.Automation.PSObject instance);
static member GetAllCentralAccessPolicies : System.Management.Automation.PSObject -> string[]
Public Shared Function GetAllCentralAccessPolicies (instance As PSObject) As String()

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