Returns the ids of members be long to this role based on the given member type.
null
An int id array describing users belong to this role based on the given member type
This method can be used to retrieve users who are added to a role using AddMember
with MemberTypes.User
, or groups that are added to a role using AddMember
with MemberTypes.Group
.
Note that adding a single user to a role is NOT the same as adding a group with one or more users to a role. The ID of a user who is added as a user member type can be retrieved using this method with MemberQueryTypes.AllUsers
. However, for users belonging to a group that is then added to a role as a group member type, IDs of individual users in the group will NOT be retrievable using GetMemberIDs
with MemberQueryTypes.AllUsers
. Instead, MemberQueryTypes.AllGroups
should be used to retrieve the group ID.
Exception Type | Condition |
---|---|
CollaborationException | The method call resulted in an error |
SoapException | There is a communication problem during the execution of the remote method call |
IRole Interface | Plumtree.Remote.PRC.Collaboration.Security Namespace