Difference between revisions of "User Object"

From EPrints Documentation
Jump to: navigation, search
 
m (Reverted edit of TduZpc, changed back to last version by Moj)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{dataobj}}
 +
__NOTOC__
 +
 
=== Built in Fields ===
 
=== Built in Fields ===
  
Line 8: Line 11:
 
<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 fild]]</td><td></td></tr>
+
<tr><td>newpassword</td><td>[[secret field]]</td><td></td></tr>
 
<tr><td>pin</td><td>[[text field]]</td><td></td></tr>
 
<tr><td>pin</td><td>[[text field]]</td><td></td></tr>
 
<tr><td>pinsettime</td><td>[[int field]]</td><td></td></tr>
 
<tr><td>pinsettime</td><td>[[int field]]</td><td></td></tr>
Line 17: Line 20:
 
<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>
Line 24: Line 27:
 
<tr><td>latitude</td><td>[[float field]]</td><td></td></tr>
 
<tr><td>latitude</td><td>[[float field]]</td><td></td></tr>
 
<tr><td>longitude</td><td>[[float field]]</td><td>these store the position on earth which this user relates to, if any. This could be where the user works or lives, for example.</td></tr>
 
<tr><td>longitude</td><td>[[float field]]</td><td>these store the position on earth which this user relates to, if any. This could be where the user works or lives, for example.</td></tr>
 +
<tr><td>****</td><td colspan="2">Repository-specific fields for the [[User Object]] are defined in [[user_fields.pl]] - these are in addition to the fields listed here.</td></tr>
 
</table>
 
</table>

Latest revision as of 13:53, 23 July 2007

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Data Objects: Access - Document - EPrint - Event Queue - File - History - Import - Login Ticket - Request - Saved Search - Subject - User


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.
****Repository-specific fields for the User Object are defined in user_fields.pl - these are in addition to the fields listed here.