User Element: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) No edit summary |
John Leavitt (talk | contribs) |
||
Line 116: | Line 116: | ||
===Description=== | ===Description=== | ||
* The Credential element is required. | * The Credential element is required. | ||
* The FirstName and LastName elements are required. | * The FirstName and LastName elements are required. | ||
* The MiddleName element is optional. | * The MiddleName element is optional. | ||
* The Login element is required and its value must not match an exisint login. | * The Login element is required and its value must not match an exisint login. | ||
* The Locale, City, State, and Country elements are optional. | * The Locale, City, State, and Country elements are optional. | ||
* The Email element is required. | * The Email element is required. | ||
* The DefaultEntity element is required, and must contain a valid entity | * The DefaultEntity element is required, and must contain a valid entity | ||
* The CreatedDate element is required and must be a valid date. | * 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 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 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 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 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 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 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 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. | * The Categories element is optional. If present the UserCategoryName element must match an existing user category. | ||
Revision as of 22:00, 26 September 2013
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>
- <Issue IssueTypeID= >
- </ReportingOrg>
- <ParentUser>
- <FirstName />
- <MiddleName />
- <LastName />
- <Login />
- </ParentUser>
- <Groups>
- <Group>
- <GroupName />
- <GroupDescription />
- </Group>
- <Group>
- </Groups>
- <Categories>
- <Category>
- <UserCategoryID />
- <UserCategoryName />
- </Category>
- </Categories>
- <UserPermissions>
- <UserPermission>
- <PermissionID />
- <PermissionDescription/>
- </UserPermission>
- </UserPermissions>
- <UserPermission>
- </UserEntity>
- <Entity>
- </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.