Sdílet prostřednictvím


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 class ISecurityDescriptorCmdletProvider
public interface ISecurityDescriptorCmdletProvider
[System.Runtime.CompilerServices.NullableContext(1)]
public interface ISecurityDescriptorCmdletProvider
type ISecurityDescriptorCmdletProvider = interface
[<System.Runtime.CompilerServices.NullableContext(1)>]
type ISecurityDescriptorCmdletProvider = interface
Public Interface ISecurityDescriptorCmdletProvider
Derived
Attributes

Remarks

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

Methods

GetSecurityDescriptor(String, AccessControlSections)

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

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)

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)

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

Applies to