WickrAdminAPI / Paginator / ListSecurityGroupUsers
ListSecurityGroupUsers¶
- class WickrAdminAPI.Paginator.ListSecurityGroupUsers¶
paginator = client.get_paginator('list_security_group_users')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
WickrAdminAPI.Client.list_security_group_users().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( networkId='string', groupId='string', sortFields='string', sortDirection='ASC'|'DESC', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
networkId (string) –
[REQUIRED]
The ID of the Wickr network containing the security group.
groupId (string) –
[REQUIRED]
The unique identifier of the security group whose users will be listed.
sortFields (string) – The field to sort users by. Multiple fields can be specified by separating them with ‘+’. Accepted values include ‘username’, ‘firstName’, and ‘lastName’.
sortDirection (string) – The direction to sort results. Valid values are ‘ASC’ (ascending) or ‘DESC’ (descending). Default is ‘DESC’.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'users': [ { 'userId': 'string', 'firstName': 'string', 'lastName': 'string', 'username': 'string', 'securityGroups': [ 'string', ], 'isAdmin': True|False, 'suspended': True|False, 'status': 123, 'otpEnabled': True|False, 'scimId': 'string', 'type': 'string', 'cell': 'string', 'countryCode': 'string', 'challengeFailures': 123, 'isInviteExpired': True|False, 'isUser': True|False, 'inviteCode': 'string', 'codeValidation': True|False, 'uname': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
users (list) –
A list of user objects belonging to the security group within the current page.
(dict) –
Represents a user account in a Wickr network with detailed profile information, status, security settings, and authentication details.
Note
codeValidation, inviteCode and inviteCodeTtl are restricted to networks under preview only.
userId (string) –
The unique identifier for the user within the network.
firstName (string) –
The first name of the user.
lastName (string) –
The last name of the user.
username (string) –
The email address or username of the user. For bots, this must end in ‘bot’.
securityGroups (list) –
A list of security group IDs to which the user is assigned, determining their permissions and feature access.
(string) –
isAdmin (boolean) –
Indicates whether the user has administrator privileges in the network.
suspended (boolean) –
Indicates whether the user is currently suspended and unable to access the network.
status (integer) –
The current status of the user (1 for pending invitation, 2 for active).
otpEnabled (boolean) –
Indicates whether one-time password (OTP) authentication is enabled for the user.
scimId (string) –
The SCIM (System for Cross-domain Identity Management) identifier for the user, used for identity synchronization. Currently not used.
type (string) –
The descriptive type of the user account (e.g., ‘user’).
cell (string) –
The phone number minus country code, used for cloud deployments.
countryCode (string) –
The country code for the user’s phone number, used for cloud deployments.
challengeFailures (integer) –
The number of failed password attempts for enterprise deployments, used for account lockout policies.
isInviteExpired (boolean) –
Indicates whether the user’s email invitation code has expired, applicable to cloud deployments.
isUser (boolean) –
Indicates whether this account is a user (as opposed to a bot or other account type).
inviteCode (string) –
The invitation code for this user, used during registration to join the network.
codeValidation (boolean) –
Indicates whether the user can be verified through a custom invite code.
uname (string) –
The unique identifier for the user.
NextToken (string) –
A token to resume pagination.