user

Extends: edcEntity
Namespace: http://eurotech.com/edc/2.0
XML Schema: edc.xsd

XML

Elements

name (type) min/max
occurs
description
id (long) 1/1
accountId (long) 1/1
username (string) 0/1
createdOn (dateTime) 0/1
createdBy (long) 1/1
modifiedOn (dateTime) 0/1
modifiedBy (long) 1/1
status (userStatus) 0/1
password (string) 0/1
displayName (string) 0/1
email (string) 0/1
phoneNumber (string) 0/1
loginOn (dateTime) 0/1
loginAttempts (int) 1/1
lockedOn (dateTime) 0/1
optlock (int) 1/1 The optlock field is used to detect that this entity has not been modified by someone else. When updating an entity, first do a find to get the latest version of the entity and note the value of the optlock. Then in the update operation, set the optlock value to match the value that you found. If someone else has updated the entity between your find and update operations, the update will fail and the db/server will return an error.

See this stackoverflow question for more information on optimistic locking.

loginAttemptsResetOn (dateTime) 0/1
unlockOn (dateTime) 0/1
trust_date (dateTime) 0/1

JSON

property type description
id id (long)
accountId accountId (long)
username username (string)
createdOn createdOn (dateTime)
createdBy createdBy (long)
modifiedOn modifiedOn (dateTime)
modifiedBy modifiedBy (long)
status status (userStatus)
password password (string)
displayName displayName (string)
email email (string)
phoneNumber phoneNumber (string)
loginOn loginOn (dateTime)
loginAttempts loginAttempts (int)
lockedOn lockedOn (dateTime)
optlock optlock (int) The optlock field is used to detect that this entity has not been modified by someone else. When updating an entity, first do a find to get the latest version of the entity and note the value of the optlock. Then in the update operation, set the optlock value to match the value that you found. If someone else has updated the entity between your find and update operations, the update will fail and the db/server will return an error.

See this stackoverflow question for more information on optimistic locking.

loginAttemptsResetOn loginAttemptsResetOn (dateTime)
unlockOn unlockOn (dateTime)
trust_date trust_date (dateTime)