DirectoryServicesPermission Constructor (DirectoryServicesPermissionAccess, String)
.NET Framework (current version)
Initializes a new instance of the DirectoryServicesPermission class with the specified access levels and specified path to an Active Directory Domain Services node.
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
Available since 1.1
Show: