コード例 #1
0
 public GroupInfo CreateGroup(
     string name, string code, RichTextInfo desc, Identifier grpTypeId, Identifier ownerId)
 {
     CreateGroupRequest request = new CreateGroupRequest() {
         Name = name,
         Code = code,
         Description = desc,
         GroupTypeId = grpTypeId,
         OwnerOrgUnitId = ownerId
     };
     CreateGroupResponse response = CallWebService<
         IOrgUnitManagementServicev1_0, CreateGroupRequest, CreateGroupResponse>(
         m_service1_0, request, ( s, q ) => s.CreateGroup( q ) );
     return response.Group;
 }
コード例 #2
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void CreateGroupAsync(CreateGroupRequest CreateGroupRequest)
 {
     this.CreateGroupAsync(CreateGroupRequest, null);
 }
コード例 #3
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public void CreateGroupAsync(CreateGroupRequest CreateGroupRequest, object userState)
 {
     if ((this.CreateGroupOperationCompleted == null)) {
         this.CreateGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateGroupOperationCompleted);
     }
     this.InvokeAsync("CreateGroup", new object[] {
                 CreateGroupRequest}, this.CreateGroupOperationCompleted, userState);
 }
コード例 #4
0
ファイル: ProxyCode.cs プロジェクト: Brightspace/d2lws-sdk
 /// <remarks/>
 public System.IAsyncResult BeginCreateGroup(CreateGroupRequest CreateGroupRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateGroup", new object[] {
                 CreateGroupRequest}, callback, asyncState);
 }