Exemplo n.º 1
0
 public UserInfo GetUserByUserName( string userName )
 {
     GetUserByUserNameRequest request = new GetUserByUserNameRequest() { UserName = userName };
     GetUserResponse response = CallWebService<
         IUserManagementServicev1_0, GetUserByUserNameRequest, GetUserResponse>(
         m_service1_0, request, ( s, q ) => s.GetUserByUserName( q ) );
     return response.User;
 }
Exemplo n.º 2
0
 /// <remarks/>
 public void GetUserByUserNameAsync(GetUserByUserNameRequest GetUserByUserNameRequest)
 {
     this.GetUserByUserNameAsync(GetUserByUserNameRequest, null);
 }
Exemplo n.º 3
0
 /// <remarks/>
 public void GetUserByUserNameAsync(GetUserByUserNameRequest GetUserByUserNameRequest, object userState)
 {
     if ((this.GetUserByUserNameOperationCompleted == null)) {
         this.GetUserByUserNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserByUserNameOperationCompleted);
     }
     this.InvokeAsync("GetUserByUserName", new object[] {
                 GetUserByUserNameRequest}, this.GetUserByUserNameOperationCompleted, userState);
 }
Exemplo n.º 4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetUserByUserName(GetUserByUserNameRequest GetUserByUserNameRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetUserByUserName", new object[] {
                 GetUserByUserNameRequest}, callback, asyncState);
 }