SecurityDescriptorCommandsBase.GetAllCentralAccessPolicies(PSObject) Method
In this article
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 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()
- instance
- PSObject
The PSObject argument is ignored.
String[]
The names and IDs of all central access policies available on the machine.
Function 'LsaQueryCAPs' is not available in OneCoreUAP and NanoServer.