Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
Database Name | Database Type | Collection Name |
---|
%tenant_code%_urac | MongoDB | users |
Record Explanation
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
_id | Mongo ID | YES | YES | YES | Mongo Record ID |
username | String | YES | YES | YES | The UserName |
password | Hash | YES | NO | NO | The User Password |
firstName | String | YES | NO | NO | The User First Name |
lastName | String | YES | NO | NO | The User Last Name |
email | String | YES | YES | YES | The User Email |
status | String | YES | NO | NO | The User Status pendingJoin or active |
profile | Object | NO | NO | NO | Additional User Info. |
config | Object | NO | NO | NO | |
| | Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
packages | Object | YES | NO | NO | Overridden ACL Packages | keys | Object | YES | NO | NO | Overridden ACL Keys |
|
tenant | Object | YES | NO | NO | |
| | Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
id | String | YES | NO | NO | Tenant ID | code | String | YES | NO | NO | Tenant Code |
|
groups | Array | YES | NO | NO | Array Of Group Codes |
ts | Time stamp | YES | NO | NO | record created timestamp |
Sample
var data = {
"_id": ObjectId('57063608622c47b5c097d19b'),
"locked": true,
"username": "owner",
"password": "$2a$04$GfQ/6TJX82HcCoq8z8R44uN6x38hmJVIh7sKXIxknjt9UjN/f90sy",
"firstName": "owner",
"lastName": "owner",
"email": "owner@soajs.org",
"ts": 1460024840683,
"status": "active",
"profile": {},
"groups": [
"owner"
],
"config": {
"packages": {},
"keys": {}
},
"tenant": {
"id": "5551aca9e179c39b760f7a1a",
"code": "DBTN"
}
};
0 Comments