2021-08-05 22:54:50 +00:00
# User entity
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
## user
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json
2021-08-01 14:27:44 -07:00
```
User entity that is part of an organization
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | Yes | Unknown status | No | Forbidden | Allowed | none | [user.json ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### User entity Type
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
`object` \([User entity ](user.md )\)
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
## User entity Properties
2021-08-04 06:53:40 +00:00
2021-08-05 22:54:50 +00:00
| Property | Type | Required | Nullable | Defined by |
| :--- | :--- | :--- | :--- | :--- |
| [id ](user.md#id ) | `string` | Required | cannot be null | [Basic type ](../types/basic.md#basic-definitions-uuid ) |
| [name ](user.md#name ) | `string` | Required | cannot be null | [User entity ](user.md#user-properties-name ) |
| [displayName ](user.md#displayname ) | `string` | Optional | cannot be null | [User entity ](user.md#user-properties-displayname ) |
| [email ](user.md#email ) | `string` | Required | cannot be null | [Basic type ](../types/basic.md#basic-definitions-email ) |
| [href ](user.md#href ) | `string` | Required | cannot be null | [Basic type ](../types/basic.md#basic-definitions-href ) |
| [timezone ](user.md#timezone ) | `string` | Optional | cannot be null | [User entity ](user.md#user-properties-timezone ) |
| [deactivated ](user.md#deactivated ) | `boolean` | Optional | cannot be null | [User entity ](user.md#user-properties-deactivated ) |
| [isBot ](user.md#isbot ) | `boolean` | Optional | cannot be null | [User entity ](user.md#user-properties-isbot ) |
| [isAdmin ](user.md#isadmin ) | `boolean` | Optional | cannot be null | [User entity ](user.md#user-properties-isAdmin ) |
| [profile ](user.md#profile ) | `object` | Optional | cannot be null | [Profile type ](../types/profile.md ) |
| [teams ](user.md#teams ) | `array` | Optional | cannot be null | [Entity Reference type ](../types/entityreference.md#entityreference-definitions-entityreferencelist ) |
| [owns ](user.md#owns ) | `array` | Optional | cannot be null | [Entity Reference type ](../types/entityreference.md#entityreference-definitions-entityreferencelist ) |
| [follows ](user.md#follows ) | `array` | Optional | cannot be null | [Entity Reference type ](../types/entityreference.md#entityreference-definitions-entityreferencelist ) |
### id
2021-08-01 14:27:44 -07:00
Unique id used to identify an entity
`id`
2021-08-05 22:54:50 +00:00
* is required
* Type: `string`
* cannot be null
* defined in: [Basic type ](../types/basic.md#basic-definitions-uuid )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### id Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
#### id Constraints
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
**UUID**: the string must be a UUID, according to [RFC 4122 ](https://tools.ietf.org/html/rfc4122 )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### name
2021-08-01 14:27:44 -07:00
Unique name of the user typically the user ID from the identify provider. Example - uid from ldap.
`name`
2021-08-05 22:54:50 +00:00
* is required
* Type: `string`
* cannot be null
* defined in: [User entity ](user.md#user-properties-name )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### name Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
#### name Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`
2021-08-05 22:54:50 +00:00
### displayName
2021-08-01 14:27:44 -07:00
Name used for display purposes. Example 'FirstName LastName'
`displayName`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `string`
* cannot be null
* defined in: [User entity ](user.md#user-properties-displayname )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### displayName Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
### email
2021-08-01 14:27:44 -07:00
Email address of user or other entities
`email`
2021-08-05 22:54:50 +00:00
* is required
* Type: `string`
* cannot be null
* defined in: [Basic type ](../types/basic.md#basic-definitions-email )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### email Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
#### email Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `127`
**minimum length**: the minimum number of characters for this string is: `6`
2021-08-05 22:54:50 +00:00
**pattern**: the string must match the following regular expression:
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
```text
2021-08-01 14:27:44 -07:00
^\S+@\S+\.\S+$
```
2021-08-05 22:54:50 +00:00
[try pattern ](https://regexr.com/?expression=%5E%5CS%2B%40%5CS%2B%5C.%5CS%2B%24 )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
**email**: the string must be an email address, according to [RFC 5322, section 3.4.1 ](https://tools.ietf.org/html/rfc5322 )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### href
2021-08-01 14:27:44 -07:00
Link to the resource corresponding to this entity
> Link to the resource
`href`
2021-08-05 22:54:50 +00:00
* is required
* Type: `string`
* cannot be null
* defined in: [Basic type ](../types/basic.md#basic-definitions-href )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### href Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
#### href Constraints
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
**URI**: the string must be a URI, according to [RFC 3986 ](https://tools.ietf.org/html/rfc3986 )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### timezone
2021-08-01 14:27:44 -07:00
Timezone of the user
`timezone`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `string`
* cannot be null
* defined in: [User entity ](user.md#user-properties-timezone )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### timezone Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
#### timezone Constraints
2021-08-01 14:27:44 -07:00
**unknown format**: the value of this string must follow the format: `timezone`
2021-08-05 22:54:50 +00:00
### deactivated
2021-08-01 14:27:44 -07:00
`deactivated`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `boolean`
* cannot be null
* defined in: [User entity ](user.md#user-properties-deactivated )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### deactivated Type
2021-08-01 14:27:44 -07:00
`boolean`
2021-08-05 22:54:50 +00:00
### isBot
2021-08-01 14:27:44 -07:00
`isBot`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `boolean`
* cannot be null
* defined in: [User entity ](user.md#user-properties-isbot )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### isBot Type
2021-08-01 14:27:44 -07:00
`boolean`
2021-08-05 22:54:50 +00:00
### isAdmin
2021-08-01 14:27:44 -07:00
When true indicates user is an adiministrator for the sytem with superuser privileges
`isAdmin`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `boolean`
* cannot be null
* defined in: [User entity ](user.md#user-properties-isAdmin )
2021-08-04 06:53:40 +00:00
2021-08-05 22:54:50 +00:00
#### isAdmin Type
2021-08-01 14:27:44 -07:00
`boolean`
2021-08-05 22:54:50 +00:00
### profile
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
Type used to capture profile of a user, team, or an organization
2021-08-01 14:27:44 -07:00
`profile`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `object` \([Type used to capture profile of a user, team, or an organization ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/profile.md )\)
* cannot be null
* defined in: [Profile type ](../types/profile.md )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### profile Type
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
`object` \([Type used to capture profile of a user, team, or an organization ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/profile.md )\)
2021-08-04 06:53:40 +00:00
2021-08-05 22:54:50 +00:00
### teams
2021-08-01 14:27:44 -07:00
Teams that the user belongs to
`teams`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `object[]` \([Entity Reference ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md )\)
* cannot be null
* defined in: [Entity Reference type ](../types/entityreference.md#entityreference-definitions-entityreferencelist )
2021-08-04 06:53:40 +00:00
2021-08-05 22:54:50 +00:00
#### teams Type
2021-08-04 06:53:40 +00:00
2021-08-05 22:54:50 +00:00
`object[]` \([Entity Reference ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md )\)
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### owns
2021-08-01 14:27:44 -07:00
Entities owned by the user
`owns`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `object[]` \([Entity Reference ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md )\)
* cannot be null
* defined in: [Entity Reference type ](../types/entityreference.md#entityreference-definitions-entityreferencelist )
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
#### owns Type
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
`object[]` \([Entity Reference ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md )\)
2021-08-04 06:53:40 +00:00
2021-08-05 22:54:50 +00:00
### follows
2021-08-01 14:27:44 -07:00
Entities followed by the user
`follows`
2021-08-05 22:54:50 +00:00
* is optional
* Type: `object[]` \([Entity Reference ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md )\)
* cannot be null
* defined in: [Entity Reference type ](../types/entityreference.md#entityreference-definitions-entityreferencelist )
2021-08-04 06:53:40 +00:00
2021-08-05 22:54:50 +00:00
#### follows Type
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
`object[]` \([Entity Reference ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md )\)
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
## User entity Definitions
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### Definitions group userName
2021-08-01 14:27:44 -07:00
Reference this group by using
2021-08-05 22:54:50 +00:00
```javascript
2021-08-04 13:18:14 +05:30
{"$ref":"https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json#/definitions/userName "}
2021-08-01 14:27:44 -07:00
```
| Property | Type | Required | Nullable | Defined by |
2021-08-05 22:54:50 +00:00
| :--- | :--- | :--- | :--- | :--- |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
## user-definitions-username
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/teams/createUser.json#/properties/name
2021-08-01 14:27:44 -07:00
```
Unique name of the user typically the user ID from the identify provider. Example - uid from ldap.
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [createUser.json\* ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/teams/createUser.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### name Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
### name Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`
2021-08-05 22:54:50 +00:00
## user-definitions
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json#/definitions
2021-08-01 14:27:44 -07:00
```
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [user.json\* ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### definitions Type
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
unknown
2021-08-05 22:54:50 +00:00
## user-properties-deactivated
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json#/properties/deactivated
2021-08-01 14:27:44 -07:00
```
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [user.json\* ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### deactivated Type
2021-08-04 06:53:40 +00:00
`boolean`
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
## user-properties-displayname
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json#/properties/displayName
2021-08-01 14:27:44 -07:00
```
Name used for display purposes. Example 'FirstName LastName'
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [user.json\* ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### displayName Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
## user-properties-isadmin
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json#/properties/isAdmin
2021-08-01 14:27:44 -07:00
```
When true indicates user is an adiministrator for the sytem with superuser privileges
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [user.json\* ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### isAdmin Type
2021-08-01 14:27:44 -07:00
`boolean`
2021-08-05 22:54:50 +00:00
## user-properties-isbot
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json#/properties/isBot
2021-08-01 14:27:44 -07:00
```
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [user.json\* ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### isBot Type
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
`boolean`
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
## user-properties-name
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json#/properties/name
2021-08-01 14:27:44 -07:00
```
Unique name of the user typically the user ID from the identify provider. Example - uid from ldap.
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [user.json\* ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### name Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
### name Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`
2021-08-05 22:54:50 +00:00
## user-properties-timezone
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json#/properties/timezone
2021-08-01 14:27:44 -07:00
```
Timezone of the user
2021-08-05 22:54:50 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [user.json\* ](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/teams/user.json ) |
2021-08-01 14:27:44 -07:00
2021-08-05 22:54:50 +00:00
### timezone Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-05 22:54:50 +00:00
### timezone Constraints
2021-08-01 14:27:44 -07:00
**unknown format**: the value of this string must follow the format: `timezone`
2021-08-05 22:54:50 +00:00