GroupMembersRequest
class. To use this class i.e to create an object of the GroupMembersRequest class, you need to use the GroupMembersRequestBuilder
class. The GroupMembersRequestBuilder
class allows you to set the parameters based on which the groups are to be fetched.
The GroupMembersRequestBuilder
class allows you to set the below parameters:
The GUID of the group for which the members are to be fetched must be specified in the constructor of the GroupMembersRequestBuilder
class.
GroupMembersRequest
class.
Once you have the object of the GroupMembersRequest
class, you need to call the fetchNext()
method. Calling this method will return a list of GroupMember
objects containing n number of members where n is the limit set in the builder class.