SecurityDescriptorCommandsBase.GetCentralAccessPolicyName(PSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.