public void EnrollUser( Identifier userId, Identifier orgUnitId, Identifier roleId )
 {
     EnrollUserRequest request = new EnrollUserRequest() {
         UserId = userId,
         OrgUnitId = orgUnitId,
         RoleId = roleId
     };
     CallWebService<IUserManagementServicev1_0, EnrollUserRequest, EnrollUserResponse>(
         m_service1_0, request, ( s, q ) => s.EnrollUser( q ) );
 }
Example #2
0
 /// <remarks/>
 public void EnrollUserAsync(EnrollUserRequest EnrollUserRequest)
 {
     this.EnrollUserAsync(EnrollUserRequest, null);
 }
Example #3
0
 /// <remarks/>
 public void EnrollUserAsync(EnrollUserRequest EnrollUserRequest, object userState)
 {
     if ((this.EnrollUserOperationCompleted == null)) {
         this.EnrollUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEnrollUserOperationCompleted);
     }
     this.InvokeAsync("EnrollUser", new object[] {
                 EnrollUserRequest}, this.EnrollUserOperationCompleted, userState);
 }
Example #4
0
 /// <remarks/>
 public System.IAsyncResult BeginEnrollUser(EnrollUserRequest EnrollUserRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("EnrollUser", new object[] {
                 EnrollUserRequest}, callback, asyncState);
 }