Describe Users
| workdocs_describe_users | R Documentation |
Describes the specified users¶
Description¶
Describes the specified users. You can describe all users or filter the results (for example, by status or organization).
By default, Amazon WorkDocs returns the first 24 active or pending users. If there are more results, the response includes a marker that you can use to request the next set of results.
Usage¶
workdocs_describe_users(AuthenticationToken, OrganizationId, UserIds,
Query, Include, Order, Sort, Marker, Limit, Fields)
Arguments¶
AuthenticationTokenAmazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
OrganizationIdThe ID of the organization.
UserIdsThe IDs of the users.
QueryA query to filter users by user name. Remember the following about the
UseridsandQueryparameters:If you don't use either parameter, the API returns a paginated list of all users on the site.
If you use both parameters, the API ignores the
Queryparameter.The
Useridparameter only returns user names that match a corresponding user ID.The
Queryparameter runs a "prefix" search for users by theGivenName,SurName, orUserNamefields included in acreate_userAPI call. For example, querying onMareturns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying onMa Jonly returns Mateo Jackson.
IncludeThe state of the users. Specify "ALL" to include inactive users.
OrderThe order for the results.
SortThe sorting criteria.
MarkerThe marker for the next set of results. (You received this marker from a previous call.)
LimitThe maximum number of items to return.
FieldsA comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.
Value¶
A list with the following syntax:
list(
Users = list(
list(
Id = "string",
Username = "string",
EmailAddress = "string",
GivenName = "string",
Surname = "string",
OrganizationId = "string",
RootFolderId = "string",
RecycleBinFolderId = "string",
Status = "ACTIVE"|"INACTIVE"|"PENDING",
Type = "USER"|"ADMIN"|"POWERUSER"|"MINIMALUSER"|"WORKSPACESUSER",
CreatedTimestamp = as.POSIXct(
"2015-01-01"
),
ModifiedTimestamp = as.POSIXct(
"2015-01-01"
),
TimeZoneId = "string",
Locale = "en"|"fr"|"ko"|"de"|"es"|"ja"|"ru"|"zh_CN"|"zh_TW"|"pt_BR"|"default",
Storage = list(
StorageUtilizedInBytes = 123,
StorageRule = list(
StorageAllocatedInBytes = 123,
StorageType = "UNLIMITED"|"QUOTA"
)
)
)
),
TotalNumberOfUsers = 123,
Marker = "string"
)
Request syntax¶
svc$describe_users(
AuthenticationToken = "string",
OrganizationId = "string",
UserIds = "string",
Query = "string",
Include = "ALL"|"ACTIVE_PENDING",
Order = "ASCENDING"|"DESCENDING",
Sort = "USER_NAME"|"FULL_NAME"|"STORAGE_LIMIT"|"USER_STATUS"|"STORAGE_USED",
Marker = "string",
Limit = 123,
Fields = "string"
)