ndex_group_list_users {ndexr} | R Documentation |
Get Members of a Group
ndex_group_list_users(ndexcon, groupId, type = NULL, start = NULL, size = NULL)
ndexcon |
object of class NDExConnection linkndex_connect |
groupId |
character; unique ID (UUID) of the group |
type |
character (optional); constrains the type of the returned membership. If not set (or NULL), all permission types will be returned. |
start |
integer (optional); specifies that the result is the nth page of the requested data. |
size |
integer (optional); specifies the number of data items in each page. |
List of permissions of that group or empty object
GET: ndex_config$api$group$membership$get
Compatible to NDEx server version 2.0
## Establish a server connection ndexcon = ndex_connect() ## Find a group groups = ndex_find_groups(ndexcon,"Ideker Lab") groupId = groups[1,"externalId"] ## Find other users of the group # users = ndex_group_list_users(ndexcon, groupId) # users = ndex_group_list_users (ndexcon, groupId, type='ADMIN', start=0, size=10)