/// <remarks/> public void ListUsersAsync(ListUsersRequest ListUsersRequest) { this.ListUsersAsync(ListUsersRequest, null); }
/// <remarks/> public void ListUsersAsync(ListUsersRequest ListUsersRequest, object userState) { if ((this.ListUsersOperationCompleted == null)) { this.ListUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnListUsersOperationCompleted); } this.InvokeAsync("ListUsers", new object[] { ListUsersRequest}, this.ListUsersOperationCompleted, userState); }
static bool listUsers(string url, Credentials c) { Console.WriteLine("Listing users..."); ArticulateOnline ao = new ArticulateOnline(); ao.Url = url; ListUsersRequest request = new ListUsersRequest(); request.Credentials = c; ListUsersResponse response = ao.ListUsers(request); if (response.Success) { foreach (UserProfile up in response.Profiles) { Console.WriteLine(String.Format("{0} {1} {2} {3}", up.UserID, up.EmailAddress, up.FirstName, up.LastName)); } } return response.Success; }