Ejemplo n.º 1
0
        static bool createGroup(string url, Credentials c, string name, string description)
        {
            Console.WriteLine("Creating group...");

            ArticulateOnline ao = new ArticulateOnline();
            ao.Url = url;
            CreateGroupRequest request = new CreateGroupRequest();
            request.Credentials = c;
            request.Name = name;
            request.Description = description;

            CreateGroupResponse response = ao.CreateGroup(request);
            return response.Success;
        }
Ejemplo n.º 2
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.º 3
0
 /// <remarks/>
 public void CreateGroupAsync(CreateGroupRequest CreateGroupRequest) {
     this.CreateGroupAsync(CreateGroupRequest, null);
 }