User Element

From ReliaWiki
Revision as of 21:43, 26 September 2013 by John Leavitt (talk | contribs)
Jump to navigation Jump to search

XML Element

<User>

<Credentials>
<FirstName />
<MiddleName />
<LastName />
<Login />
</Credentials>
<Locale>
<City />
<State />
<Country />
</Locale>
<EmployeeID />
<Email />
<DefaultEntity>
<EnityID />
<EntityName />
</DefaultEntity>
<CreatedDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</CreatedDate>
<ExpirationDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</ExpirationDate>
<RevokeDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</RevokeDate>
<UserEntities>
<UserEntity>
<Entity>
<EnityID />
<EntityName />
</Entity>
<AccountExpirationDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</AccountExpirationDate>
<CreatedDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</CreatedDate>
<RetiredDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</RetiredDate>
<ReportingOrg>
<Issue IssueTypeID= >
<Description />
</Issue>
</ReportingOrg>
<ParentUser>
<FirstName />
<MiddleName />
<LastName />
<Login />
</ParentUser>
<Groups>
<Group>
<GroupName />
<GroupDescription />
</Group>
</Groups>
<Categories>
<Category>
<UserCategoryID />
<UserCategoryName />
</Category>
</Categories>
<UserPermissions>
<UserPermission>
<PermissionID />
<PermissionDescription/>
</UserPermission>
</UserPermissions>
</UserEntity>
</UserEntities>

</User>


Description

  • The Credential element is required.
  • The FirstName and LastName elements are required.
  • The MiddleName element is optional.
  • The Login element is required and its value must not match an exisint login.
  • The Locale, City, State, and Country elements are optional.
  • The Email element is required.
  • The DefaultEntity element is required, and must contain a valid entity
  • The CreatedDate element is required and must be a valid date.
  • The ExpirationDate element is optional and if present it must be a valid date.
  • The RevokeDate element is optional and if present it must be a valid date.
  • The UserEntity element is optional if present it msut contain a valid entity.
  • The AccountExpirationDate, CreatedDate, and RetiredDate are optional and if present must be a valid date.
  • The ReportingOrg element is optional and if present it must contain a valid existing issue.
  • The ParentUser element is optional. If present it must contain a Login element whose value matches an existinglogin.
  • The Group element is optional. If present the GroupName element value must match an existing user group name.
  • The Categories element is optional. If present the UserCategoryName element must match an existing user category.
Standard User Categories:
ID        Category Name
2          FA Engineer
3          Default PRR Reviewer
4          Legal Expert
5          D2 Approver
6          D3 Approver
7          D4 Approver
8          D5 Approver
9          D6 Approver
10         D7 Approver
11         Problem Owner
12         D8 Approver
13         Project Owner
  • The UserPermissions element is optional. Export only.