/// <remarks/> public void ListGroupsAsync(ListGroupsRequest ListGroupsRequest) { this.ListGroupsAsync(ListGroupsRequest, null); }
/// <remarks/> public void ListGroupsAsync(ListGroupsRequest ListGroupsRequest, object userState) { if ((this.ListGroupsOperationCompleted == null)) { this.ListGroupsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnListGroupsOperationCompleted); } this.InvokeAsync("ListGroups", new object[] { ListGroupsRequest}, this.ListGroupsOperationCompleted, userState); }
static bool listGroups(string url, Credentials c) { Console.WriteLine("Listing groups..."); ArticulateOnline ao = new ArticulateOnline(); ao.Url = url; ListGroupsRequest request = new ListGroupsRequest(); request.Credentials = c; ListGroupsResponse response = ao.ListGroups(request); if (response.Success) { foreach (GroupSummary gs in response.Groups) { Console.WriteLine(String.Format("{0} {1} {2}", gs.GroupID, gs.Name, gs.Description)); } } return response.Success; }