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; }
/// <remarks/> public void GetUserAsync(GetUserRequest GetUserRequest) { this.GetUserAsync(GetUserRequest, null); }
/// <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); }
/// <remarks/> public System.IAsyncResult BeginGetUser(GetUserRequest GetUserRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetUser", new object[] { GetUserRequest}, callback, asyncState); }