Difference between revisions of "User Object"

From EPrints Documentation
Jump to: navigation, search
(Built in Fields)
Line 8: Line 8:
 
<tr><td>username</td><td>[[text field]]</td><td></td></tr>
 
<tr><td>username</td><td>[[text field]]</td><td></td></tr>
 
<tr><td>password</td><td>[[secret field]]</td><td></td></tr>
 
<tr><td>password</td><td>[[secret field]]</td><td></td></tr>
<tr><td>usertype</td><td>[[namedset field]]</td><td></td></tr>
+
<tr><td>usertype</td><td>[[namedset field]] user</td><td></td></tr>
 
<tr><td>newemail</td><td>[[email field]]</td><td></td></tr>
 
<tr><td>newemail</td><td>[[email field]]</td><td></td></tr>
 
<tr><td>newpassword</td><td>[[secret field]]</td><td></td></tr>
 
<tr><td>newpassword</td><td>[[secret field]]</td><td></td></tr>
Line 17: Line 17:
 
<tr><td>lang</td><td>[[arclanguage field]]</td><td></td></tr>
 
<tr><td>lang</td><td>[[arclanguage field]]</td><td></td></tr>
 
<tr><td>editperms</td><td>multiple [[search field]]</td><td></td></tr>
 
<tr><td>editperms</td><td>multiple [[search field]]</td><td></td></tr>
<tr><td>permission_group</td><td>multiple [[namedset field]]</td><td></td></tr>
+
<tr><td>permission_group</td><td>multiple [[namedset field]] permission_group</td><td></td></tr>
 
<tr><td>frequency</td><td>[[set field]]</td><td></td></tr>
 
<tr><td>frequency</td><td>[[set field]]</td><td></td></tr>
 
<tr><td>mailempty</td><td>[[boolean field]]</td><td></td></tr>
 
<tr><td>mailempty</td><td>[[boolean field]]</td><td></td></tr>

Revision as of 16:08, 8 January 2007

Built in Fields

Field NameTypeDescription
useridint fieldThe ID number of this User Object (unique within a single repository)
rev_numberint fieldThe metadata revision number. Increased by 1 every time this record is modified.
saved_searchesmultiple subobject field
usernametext field
passwordsecret field
usertypenamedset field user
newemailemail field
newpasswordsecret field
pintext field
pinsettimeint field
joinedtime field
emailemail field
langarclanguage field
editpermsmultiple search field
permission_groupmultiple namedset field permission_group
frequencyset field
mailemptyboolean field
items_fieldsmultiple fields field
review_fieldsmultiple fields field
latitudefloat field
longitudefloat fieldthese store the position on earth which this user relates to, if any. This could be where the user works or lives, for example.