Resource: User
SCIM representation of a user.
| JSON representation |
|---|
{ "schemas": [ string ], "emails": [ { object ( |
| Fields | |
|---|---|
schemas[] |
Required. A list of URIs which indicate the namespaces of the SCIM schemas that define the attributes present in the current JSON structure. Must only contain values defined as |
emails[] |
Optional. The list of the user's email addresses. The maximum allowed data size is 10KB. The email corresponding to |
addresses[] |
Optional. The list of the user's physical addresses. The maximum allowed data size is 10KB. |
phoneNumbers[] |
Optional. A list of the user's phone numbers. The maximum allowed data size is 1KB. |
groups[] |
Output only. The list of groups the user has direct membership in, truncated to a maximum of 1000 groups. This attribute is not returned by default and must be requested using the |
id |
Identifier. The unique ID for the user. The attribute characteristics are |
externalId |
Optional. A client-defined identifier for the SCIM user. This field is case-sensitive and mutable. The client is responsible for ensuring uniqueness, as the server does not enforce it. |
meta |
Output only. A complex attribute containing resource metadata. All |
userName |
Required. The user's primary email address. Used as the unique identifier for the user. |
name |
Required. The user's name. |
displayName |
Optional. The user's display name. Limit: 256 characters. |
active |
Optional. The user's account status ( |
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User |
Optional. SCIM Enterprise User extension attributes. |
urn:ietf:params:scim:schemas:extension:google:2.0:CloudIdentityUser |
Optional. SCIM Cloud Identity User extension attributes. |
Name
SCIM representation of a User's name.
| JSON representation |
|---|
{ "familyName": string, "givenName": string } |
| Fields | |
|---|---|
familyName |
Required. The user's family name. |
givenName |
Required. The user's given name. |
SCIM representation of a user's email.
| JSON representation |
|---|
{ "value": string, "type": string, "primary": boolean } |
| Fields | |
|---|---|
value |
Required. The user's email address. |
type |
The type of the email account. Valid values are |
primary |
Output only. Indicates if this is the user's primary email. This value is set to |
Address
SCIM representation of a user's address.
| JSON representation |
|---|
{ "formatted": string, "streetAddress": string, "locality": string, "region": string, "postalCode": string, "country": string, "type": string, "primary": boolean } |
| Fields | |
|---|---|
formatted |
Full address, formatted for display. |
streetAddress |
The street address. |
locality |
The city or locality. |
region |
The region or state. |
postalCode |
The postal code or zip code. |
country |
The country. |
type |
The type of the address. Valid values are |
primary |
Indicates if this is the user's primary address. |
Phone
SCIM representation of a user's phone number.
| JSON representation |
|---|
{ "value": string, "type": string, "primary": boolean } |
| Fields | |
|---|---|
value |
Required. The phone number. |
type |
The type of the phone number. Valid values are |
primary |
Indicates if this is the user's primary phone number. |
EnterpriseUserExtension
Defines the attributes for the SCIM Enterprise User extension. The schema URN for this extension is: urn:ietf:params:scim:schemas:extension:enterprise:2.0:User. See RFC 7643 Section 4.3 for more details.
| JSON representation |
|---|
{
"employeeNumber": string,
"costCenter": string,
"organization": string,
"department": string,
"manager": {
object ( |
| Fields | |
|---|---|
employeeNumber |
Optional. Identifier, typically assigned by the organization, used to identify the user inside the organization. |
costCenter |
Optional. Identifier for the cost center to which the user's expenditures are attributed. |
organization |
Optional. The name of an organization a user belongs to. |
department |
Optional. The name of a department user belongs to in the text format. |
manager |
Optional. The user's manager. A complex attribute that optionally allows service providers to represent organizational hierarchy by referencing the |
Manager
SCIM representation of a user's manager. Fields are based on RFC 7643 Section 4.3.
| JSON representation |
|---|
{ "value": string, "$ref": string } |
| Fields | |
|---|---|
value |
Optional. The |
$ref |
Output only. The URI of the SCIM resource representing the user's manager. |
GroupReference
SCIM representation of a user's group membership.
| JSON representation |
|---|
{ "value": string, "$ref": string, "type": string } |
| Fields | |
|---|---|
value |
Output only. The |
$ref |
Output only. The URI of the SCIM resource representing the group. |
type |
Output only. The type of group membership. Valid values are |
CloudIdentityUserExtension
Defines the attributes for the Google Cloud Identity User extension. The schema URN for this extension is: urn:ietf:params:scim:schemas:extension:google:2.0:CloudIdentityUser.
| JSON representation |
|---|
{ "websites": [ { object ( |
| Fields | |
|---|---|
websites[] |
Optional. The websites associated with the user, excluding websites of type |
additionalExternalIds[] |
Optional. A collection of external identifiers for the user. This list serves as a supplemental set to those already represented by the SCIM core schema attribute |
additionalIms[] |
Optional. Non-primary instant messaging addresses for the user. Excludes primary IM addresses, which correspond to the SCIM core schema attribute |
additionalOrganizations[] |
Optional. Non-primary organizations of the user. |
addressListVisible |
Optional. Indicates whether the user should be shown in the global address list. If unassigned or cleared by the client, this attribute defaults to |
gender |
Optional. The gender of the user. Supported values are |
organizationalUnit |
Optional. The organizational unit of the user. |
primaryOrganization |
Optional. Additional attributes of the primary organization of the user. Excludes |
OrganizationalUnit
SCIM representation of a user's organizational unit.
| JSON representation |
|---|
{ "path": string } |
| Fields | |
|---|---|
path |
Optional. The full path of the organizational unit the user belongs to (for example, |
Website
SCIM representation of a user's website. Excludes websites of type profile, which correspond to the SCIM core schema attribute profileUrl.
| JSON representation |
|---|
{ "value": string, "type": string } |
| Fields | |
|---|---|
value |
Required. The website URL. |
type |
Optional. The type of the website. Supported values are |
ExternalId
SCIM representation of a user's additional external identifier. Excludes external identifiers already represented by the SCIM core schema attribute externalId and the SCIM Enterprise User extension attribute urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employeeNumber.
| JSON representation |
|---|
{ "value": string, "type": string } |
| Fields | |
|---|---|
value |
Required. The value of the external ID. |
type |
Optional. The type of the external ID. Supported values include |
AdditionalIm
SCIM representation of a user's non-primary instant messaging (IM) address. Excludes primary IM addresses, which correspond to the SCIM core schema attribute ims.
| JSON representation |
|---|
{ "value": string, "usage": string, "type": string } |
| Fields | |
|---|---|
value |
Required. The IM address. |
usage |
Optional. The usage of the IM. Supported values include |
type |
Optional. The type of the IM service. Supported values include |
PrimaryOrganization
SCIM representation of a user's primary organization. The fields in this complex attribute apply to the same primary organization as the SCIM Enterprise User extension (urn:ietf:params:scim:schemas:extension:enterprise:2.0:User). It excludes name, department, and costCenter (which are represented by the organization, department, and costCenter attributes in urn:ietf:params:scim:schemas:extension:enterprise:2.0:User), as well as title (which corresponds to the SCIM core schema attribute title).
| JSON representation |
|---|
{ "type": string, "domain": string, "fullTimeEquivalent": integer, "location": string, "symbol": string } |
| Fields | |
|---|---|
type |
Optional. The type of the organization. Valid values are |
domain |
Optional. The domain name associated with the organization. For example, |
fullTimeEquivalent |
Optional. The full-time equivalent millipercent within the organization (100000 = 100%). |
location |
Optional. The physical location of the organization. |
symbol |
Optional. The symbol of the organization. |
AdditionalOrganization
SCIM representation of a user's non-primary organization. Excludes the user's primary organization, which is represented across the primaryOrganization attribute, the SCIM Enterprise User extension (urn:ietf:params:scim:schemas:extension:enterprise:2.0:User), and the SCIM core schema attribute title.
| JSON representation |
|---|
{ "type": string, "costCenter": string, "department": string, "domain": string, "fullTimeEquivalent": integer, "location": string, "name": string, "symbol": string, "title": string } |
| Fields | |
|---|---|
type |
Optional. The type of the organization. Valid values are |
costCenter |
Optional. The cost center of the organization. |
department |
Optional. The department of the organization. |
domain |
Optional. The domain name associated with the organization. For example, |
fullTimeEquivalent |
Optional. The full-time equivalent millipercent within the organization (100000 = 100%). |
location |
Optional. The physical location of the organization. |
name |
Optional. The name of the organization. |
symbol |
Optional. The symbol of the organization. |
title |
Optional. The user's title within the organization. |
Methods |
|
|---|---|
|
Creates a User. |
|
Deletes a User. |
|
Retrieves a User. |
|
Retrieves a list of Users. |
|
Updates a User using SCIM patch semantics. |