DirectoryServicesPermission DirectoryServicesPermission DirectoryServicesPermission DirectoryServicesPermission Constructors

Definition

Overloads

DirectoryServicesPermission() DirectoryServicesPermission() DirectoryServicesPermission()

Initializes a new instance of the DirectoryServicesPermission class.

DirectoryServicesPermission(DirectoryServicesPermissionEntry[]) DirectoryServicesPermission(DirectoryServicesPermissionEntry[]) DirectoryServicesPermission(DirectoryServicesPermissionEntry[]) DirectoryServicesPermission(DirectoryServicesPermissionEntry[])

Initializes a new instance of the DirectoryServicesPermission class with the specified permission access level entries.

DirectoryServicesPermission(PermissionState) DirectoryServicesPermission(PermissionState) DirectoryServicesPermission(PermissionState) DirectoryServicesPermission(PermissionState)

Initializes a new instance of the DirectoryServicesPermission class with the specified permission state.

DirectoryServicesPermission(DirectoryServicesPermissionAccess, String) DirectoryServicesPermission(DirectoryServicesPermissionAccess, String) DirectoryServicesPermission(DirectoryServicesPermissionAccess, String) DirectoryServicesPermission(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.

DirectoryServicesPermission() DirectoryServicesPermission() DirectoryServicesPermission()

Initializes a new instance of the DirectoryServicesPermission class.

public:
 DirectoryServicesPermission();
public DirectoryServicesPermission ();
Public Sub New ()

DirectoryServicesPermission(DirectoryServicesPermissionEntry[]) DirectoryServicesPermission(DirectoryServicesPermissionEntry[]) DirectoryServicesPermission(DirectoryServicesPermissionEntry[]) DirectoryServicesPermission(DirectoryServicesPermissionEntry[])

Initializes a new instance of the DirectoryServicesPermission class with the specified permission access level entries.

public:
 DirectoryServicesPermission(cli::array <System::DirectoryServices::DirectoryServicesPermissionEntry ^> ^ permissionAccessEntries);
public DirectoryServicesPermission (System.DirectoryServices.DirectoryServicesPermissionEntry[] permissionAccessEntries);
new System.DirectoryServices.DirectoryServicesPermission : System.DirectoryServices.DirectoryServicesPermissionEntry[] -> System.DirectoryServices.DirectoryServicesPermission
Public Sub New (permissionAccessEntries As DirectoryServicesPermissionEntry())

Parameters

permissionAccessEntries
DirectoryServicesPermissionEntry[]

An array of DirectoryServicesPermissionEntry objects. The PermissionEntries property is set to this value.

Exceptions

The specified value for the permissionAccessEntries parameter is null.

DirectoryServicesPermission(PermissionState) DirectoryServicesPermission(PermissionState) DirectoryServicesPermission(PermissionState) DirectoryServicesPermission(PermissionState)

Initializes a new instance of the DirectoryServicesPermission class with the specified permission state.

public:
 DirectoryServicesPermission(System::Security::Permissions::PermissionState state);
public DirectoryServicesPermission (System.Security.Permissions.PermissionState state);
new System.DirectoryServices.DirectoryServicesPermission : System.Security.Permissions.PermissionState -> System.DirectoryServices.DirectoryServicesPermission
Public Sub New (state As PermissionState)

Parameters

Exceptions

See also

DirectoryServicesPermission(DirectoryServicesPermissionAccess, String) DirectoryServicesPermission(DirectoryServicesPermissionAccess, String) DirectoryServicesPermission(DirectoryServicesPermissionAccess, String) DirectoryServicesPermission(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.

public:
 DirectoryServicesPermission(System::DirectoryServices::DirectoryServicesPermissionAccess permissionAccess, System::String ^ path);
public DirectoryServicesPermission (System.DirectoryServices.DirectoryServicesPermissionAccess permissionAccess, string path);
new System.DirectoryServices.DirectoryServicesPermission : System.DirectoryServices.DirectoryServicesPermissionAccess * string -> System.DirectoryServices.DirectoryServicesPermission
Public Sub New (permissionAccess As DirectoryServicesPermissionAccess, path As String)

Parameters

path
String String String String

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

Applies to