Enumerates all the members in a circle.
The Circle ID that you want the list of members from.
Whether the action was successful, and the list of members in the Circle.
public async Task<EnumCircleMembersReply> EnumCircleMembers(EnumCircleMembersRequest request)
public class EnumCircleMembersRequest
{
public string CircleId;
}
public class EnumCircleMembersReply
{
public ReturnStatus Status;
public List<ProfileInfo> Profiles;
}
public void EnumCircleMembers(string circleId)
{
EnumCircleMembersRequest request = new EnumCircleMembersRequest() { CircleId = circleId };
EnumCircleMembersReply reply = _circle.EnumCircleMembers(request);
if (reply.Status.Result)
{
foreach (ProfileInfo pi in reply.Profiles)
{
Console.WriteLine($"{pi.ProfileId} - {pi.UserName} - {pi.DisplayName}");
}
}
else
Console.WriteLine(reply.Status.Message);
}