SecurityDescriptorCommandsBase.GetAccess(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 access rules of the provided PSObject.
public:
static System::Security::AccessControl::AuthorizationRuleCollection ^ GetAccess(System::Management::Automation::PSObject ^ instance);
public static System.Security.AccessControl.AuthorizationRuleCollection GetAccess (System.Management.Automation.PSObject instance);
static member GetAccess : System.Management.Automation.PSObject -> System.Security.AccessControl.AuthorizationRuleCollection
Public Shared Function GetAccess (instance As PSObject) As AuthorizationRuleCollection
Parameters
- instance
- PSObject
The PSObject for which to obtain the access rules.
Returns
The access rules of the provided PSObject.