示例#1
0
 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 ) );
 }
示例#2
0
 /// <remarks/>
 public void EnrollUserAsync(EnrollUserRequest EnrollUserRequest)
 {
     this.EnrollUserAsync(EnrollUserRequest, null);
 }
示例#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);
 }
示例#4
0
 /// <remarks/>
 public System.IAsyncResult BeginEnrollUser(EnrollUserRequest EnrollUserRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("EnrollUser", new object[] {
                 EnrollUserRequest}, callback, asyncState);
 }