Property | Type | Description | |
---|---|---|---|
Sync_Groups | void |
Method | Description | |
---|---|---|
ADUser ( |
Create a new AD User on the given connection
|
|
ADUser ( |
Create an AD User from the given connection and UserPrincipal
|
|
MoveTo ( ) : void | ||
Save ( ) : void |
Save the local ADUser data to the remote server
|
|
addToGroup ( string groupName ) : void |
Add the ADUser to a group
|
|
find ( ) : IEnumerable |
||
removeFromGroup ( string groupName ) : void |
Remove the ADUser from a group
|
Method | Description | |
---|---|---|
Sync_Groups ( ) : void |
Synchronize groups between the local ADUser object and the AD server record
|
public ADUser ( |
||
connection | The AD connection | |
return | System |
public ADUser ( |
||
connection | The AD connection | |
user | System.DirectoryServices.AccountManagement.UserPrincipal | An existing UserPrincipal object |
return | System |
public addToGroup ( string groupName ) : void | ||
groupName | string | The name of the group to which the user should be added |
return | void |
public removeFromGroup ( string groupName ) : void | ||
groupName | string | The name of the group from which the ADUser should be removed |
return | void |