Επεξεργασία

Κοινή χρήση μέσω


DirectoryServicesPermission Constructors

Definition

Initializes a new instance of the DirectoryServicesPermission class.

Overloads

DirectoryServicesPermission()

Initializes a new instance of the DirectoryServicesPermission class.

DirectoryServicesPermission(DirectoryServicesPermissionEntry[])

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

DirectoryServicesPermission(PermissionState)

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

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()

Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs

Initializes a new instance of the DirectoryServicesPermission class.

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

Applies to

DirectoryServicesPermission(DirectoryServicesPermissionEntry[])

Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs

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);
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.

Applies to

DirectoryServicesPermission(PermissionState)

Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs

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

state
PermissionState

One of the PermissionState values.

Exceptions

The State parameter is not a valid value of PermissionState.

See also

Applies to

DirectoryServicesPermission(DirectoryServicesPermissionAccess, String)

Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs
Source:
DirectoryServicesPermission.cs

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);
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

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

Applies to