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