Partager via


SecurityDescriptorCommandsBase.GetCentralAccessPolicyName(PSObject) Method

Definition

Gets the central access policy name of the provided PSObject.

public:
 static System::String ^ GetCentralAccessPolicyName(System::Management::Automation::PSObject ^ instance);
public static string GetCentralAccessPolicyName (System.Management.Automation.PSObject instance);
static member GetCentralAccessPolicyName : System.Management.Automation.PSObject -> string
Public Shared Function GetCentralAccessPolicyName (instance As PSObject) As String

Parameters

instance
PSObject

The PSObject for which to obtain the central access policy name.

Returns

The central access policy name of the provided PSObject.

Remarks

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

Applies to