ISecurityDescriptorCmdletProvider ISecurityDescriptorCmdletProvider ISecurityDescriptorCmdletProvider Interface

Definition

Provides an interface that allows simplified interaction with namespaces that support security descriptors. The methods on this interface allow a common set of commands to manage the security on any namespace that supports this interface. This interface should only be implemented on derived classes of CmdletProvider, ItemCmdletProvider, ContainerCmdletProvider, or NavigationCmdletProvider.

public interface ISecurityDescriptorCmdletProvider
type ISecurityDescriptorCmdletProvider = interface
Public Interface ISecurityDescriptorCmdletProvider
Derived

Remarks

A namespace provider should implement this interface if items in the
namespace are protected by Security Descriptors.

Methods

GetSecurityDescriptor(String, AccessControlSections) GetSecurityDescriptor(String, AccessControlSections) GetSecurityDescriptor(String, AccessControlSections)

Gets the security descriptor for the item at the specified path.

NewSecurityDescriptorFromPath(String, AccessControlSections) NewSecurityDescriptorFromPath(String, AccessControlSections) NewSecurityDescriptorFromPath(String, AccessControlSections)

Creates a new empty security descriptor of the same type as the item specified by the path. For example, if "path" points to a file system directory, the descriptor returned will be of type DirectorySecurity.

NewSecurityDescriptorOfType(String, AccessControlSections) NewSecurityDescriptorOfType(String, AccessControlSections) NewSecurityDescriptorOfType(String, AccessControlSections)

Creates a new empty security descriptor of the specified type. This method is used as a convenience function for consumers of your provider.

SetSecurityDescriptor(String, ObjectSecurity) SetSecurityDescriptor(String, ObjectSecurity) SetSecurityDescriptor(String, ObjectSecurity)

Sets the security descriptor for the item at the specified path.

Applies to