Beispiel #1
0
 /// <remarks/>
 public void RemoveUserFromGroupAsync(ActiveDirectoryUser activeDirectoryUser, int Domain, ActiveDirectoryGroup activeDirectoryGroup, object userState) {
     if ((this.RemoveUserFromGroupOperationCompleted == null)) {
         this.RemoveUserFromGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveUserFromGroupOperationCompleted);
     }
     this.InvokeAsync("RemoveUserFromGroup", new object[] {
                 activeDirectoryUser,
                 Domain,
                 activeDirectoryGroup}, this.RemoveUserFromGroupOperationCompleted, userState);
 }
Beispiel #2
0
 public bool RemoveUserFromGroup(ActiveDirectoryUser activeDirectoryUser, int Domain, ActiveDirectoryGroup activeDirectoryGroup) {
     object[] results = this.Invoke("RemoveUserFromGroup", new object[] {
                 activeDirectoryUser,
                 Domain,
                 activeDirectoryGroup});
     return ((bool)(results[0]));
 }
Beispiel #3
0
 /// <remarks/>
 public void RemoveUserFromGroupAsync(ActiveDirectoryUser activeDirectoryUser, int Domain, ActiveDirectoryGroup activeDirectoryGroup) {
     this.RemoveUserFromGroupAsync(activeDirectoryUser, Domain, activeDirectoryGroup, null);
 }
Beispiel #4
0
 /// <remarks/>
 public void AddUserToGroupAsync(ActiveDirectoryUser activeDirectoryUser, int Domain, ActiveDirectoryGroup activeDirectoryGroup) {
     this.AddUserToGroupAsync(activeDirectoryUser, Domain, activeDirectoryGroup, null);
 }