Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 /// <remarks/>
 public void CreateGroupAsync(CreateGroupRequest CreateGroupRequest)
 {
     this.CreateGroupAsync(CreateGroupRequest, null);
 }
Ejemplo n.º 3
0
 /// <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);
 }
Ejemplo n.º 4
0
 /// <remarks/>
 public System.IAsyncResult BeginCreateGroup(CreateGroupRequest CreateGroupRequest, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateGroup", new object[] {
                 CreateGroupRequest}, callback, asyncState);
 }