public UserInfo GetUser( Identifier userId )
 {
     GetUserRequest request = new GetUserRequest() { UserId = userId };
     GetUserResponse response = CallWebService<
         IUserManagementServicev1_0, GetUserRequest, GetUserResponse>(
         m_service1_0, request, ( s, q ) => s.GetUser( q ) );
     return response.User;
 }
Example #2
0
 /// <remarks/>
 public void GetUserAsync(GetUserRequest GetUserRequest)
 {
     this.GetUserAsync(GetUserRequest, null);
 }
Example #3
0
 /// <remarks/>
 public void GetUserAsync(GetUserRequest GetUserRequest, object userState)
 {
     if ((this.GetUserOperationCompleted == null)) {
         this.GetUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserOperationCompleted);
     }
     this.InvokeAsync("GetUser", new object[] {
                 GetUserRequest}, this.GetUserOperationCompleted, userState);
 }
Example #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetUser(GetUserRequest GetUserRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetUser", new object[] {
                 GetUserRequest}, callback, asyncState);
 }