コード例 #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;
 }
コード例 #2
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void GetUserByUserNameAsync(GetUserByUserNameRequest GetUserByUserNameRequest)
 {
     this.GetUserByUserNameAsync(GetUserByUserNameRequest, null);
 }
コード例 #3
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <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);
 }
コード例 #4
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public System.IAsyncResult BeginGetUserByUserName(GetUserByUserNameRequest GetUserByUserNameRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetUserByUserName", new object[] {
                 GetUserByUserNameRequest}, callback, asyncState);
 }