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 4 Next »

Database Information


Database NameDatabase TypeCollection Name
%tenant_code%_uracMongoDBusers

 

Record Explanation


 Field NameTypeMandatoryUniqueIndexedDescription
_idMongo IDYESYESYESMongo Record ID
usernameStringYESYESYESThe UserName
passwordHashYESNONOThe User Password
firstNameStringYESNONOThe User First Name
lastNameStringYESNONOThe User Last Name
emailStringYESYESYESThe User Email
statusStringYESNONOThe User Status pendingJoin or active
profileObjectNONONO 
configObjectNONONO 
 
 Field NameTypeMandatoryUniqueIndexedDescription
packagesObjectYESNONO 
keysObjectYESNONO 
tenantObject YES NONO  
 
 Field NameTypeMandatoryUniqueIndexedDescription
idStringYESNONOTenant ID
codeStringYESNONOTenant Code 
groupsArrayYESNONOArray Of Group Codes
tsTime stampYESNONOrecord created timestamp

 

Sample


User Record 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"
	}
};
  • No labels