DirectoryServicesPermission Constructor (DirectoryServicesPermissionAccess, String)

 

Initializes a new instance of the DirectoryServicesPermission class with the specified access levels and specified path to an Active Directory Domain Services node.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public DirectoryServicesPermission(
	DirectoryServicesPermissionAccess permissionAccess,
	string path
)

Parameters

permissionAccess
Type: System.DirectoryServices.DirectoryServicesPermissionAccess

One of the DirectoryServicesPermissionAccess values.

path
Type: System.String

The path of the Active Directory Domain Services object, otherwise known as the ADsPath, to which the permissions apply.

.NET Framework
Available since 1.1
Return to top
Show: