SecurityDescriptorCommandsBase.GetAllCentralAccessPolicies(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 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.