User License information assigned by the admin.
JSON representation |
---|
{
"userPrincipal": string,
"user": string,
"userProfile": string,
"licenseAssignmentState": enum ( |
Fields | |
---|---|
userPrincipal |
Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal. |
user |
Optional. The full resource name of the User, in the format of This field must be a UTF-8 encoded string with a length limit of 2048 characters. If the user field is empty, it's indicating the user has not logged in yet and no [User][] entity is created. |
userProfile |
Optional. The user profile. We user user full name(First name + Last name) as user profile. |
licenseAssignmentState |
Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user; |
licenseConfig |
Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user. |
createTime |
Output only. User created timestamp. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. User update timestamp. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
lastLoginTime |
Output only. User last logged in time. If the user has not logged in yet, this field will be empty. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
LicenseAssignmentState
License assignment state enumeration.
Enums | |
---|---|
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED |
Default value. |
ASSIGNED |
License assigned to the user. |
UNASSIGNED |
No license assigned to the user. Deprecated, translated to NO_LICENSE. |
NO_LICENSE |
No license assigned to the user. |
NO_LICENSE_ATTEMPTED_LOGIN |
User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin). |