| ActiveDirectoryAdd Method |
Adds an entry to the Active Directory with the specified distinguished name and attributes.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool Add(
string dn,
DirectoryAttribute[] attributes
)
Public Function Add (
dn As String,
attributes As DirectoryAttribute()
) As Boolean
public:
bool Add(
String^ dn,
array<DirectoryAttribute^>^ attributes
)
member Add :
dn : string *
attributes : DirectoryAttribute[] -> bool
Parameters
- dn
- Type: SystemString
The distinguished name of the entry to add. - attributes
- Type: System.DirectoryServices.ProtocolsDirectoryAttribute
The attributes for the entry to add.
Return Value
Type:
BooleanTrue if added, false otherwise.
See Also