listUsers
Retrieves a paginated list of users in a specified Wickr network. You can filter and sort the results based on various criteria such as name, status, or security group membership.
Samples
// Get paginated list of users
val resp = wickrClient.listUsers {
networkId = "12345678"
maxResults = 20
sortFields = "username"
sortDirection = SortDirection.fromValue("ASC")
}Content copied to clipboard
// Filter by status and group
val resp = wickrClient.listUsers {
networkId = "12345678"
status = UserStatus.fromValue(1)
groupId = "BCTY8Qhe"
maxResults = 10
}Content copied to clipboard
// Empty user list for network with no users
val resp = wickrClient.listUsers {
networkId = "12345678"
}Content copied to clipboard