SecurityDescriptorCmdletProviderIntrinsics.Get Method

Definition

Gets the SecurityDescriptor at the specified path, including only the specified AccessControlSections.

public:
 System::Collections::ObjectModel::Collection<System::Management::Automation::PSObject ^> ^ Get(System::String ^ path, System::Security::AccessControl::AccessControlSections includeSections);
public System.Collections.ObjectModel.Collection<System.Management.Automation.PSObject> Get (string path, System.Security.AccessControl.AccessControlSections includeSections);
member this.Get : string * System.Security.AccessControl.AccessControlSections -> System.Collections.ObjectModel.Collection<System.Management.Automation.PSObject>
Public Function Get (path As String, includeSections As AccessControlSections) As Collection(Of PSObject)

Parameters

path
String

The path of the item to retrieve. It may be a drive or provider-qualified path and may include. glob characters.

includeSections
AccessControlSections

The sections of the security descriptor to include.

Returns

The SecurityDescriptor(s) at the specified path.

Applies to