<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ab.edge-technologies.com/docs/index.php?action=history&amp;feed=atom&amp;title=Enportal%2F5.5%2Fadmin%2Fsystem_administration%2Fbatch_loading_users</id>
	<title>Enportal/5.5/admin/system administration/batch loading users - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ab.edge-technologies.com/docs/index.php?action=history&amp;feed=atom&amp;title=Enportal%2F5.5%2Fadmin%2Fsystem_administration%2Fbatch_loading_users"/>
	<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.5/admin/system_administration/batch_loading_users&amp;action=history"/>
	<updated>2026-05-14T02:59:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.5/admin/system_administration/batch_loading_users&amp;diff=7143&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.5/admin/system_administration/batch_loading_users&amp;diff=7143&amp;oldid=prev"/>
		<updated>2014-07-10T05:08:59Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:08, 10 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.5/admin/system_administration/batch_loading_users&amp;diff=7142&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Enportal/5.5/admin/system_administration/batch_loading_users&amp;diff=7142&amp;oldid=prev"/>
		<updated>2013-12-19T15:17:45Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:enPortal 5.5]]&lt;br /&gt;
{{DISPLAYTITLE:Batch Loading User Accounts and Roles}}&lt;br /&gt;
&lt;br /&gt;
An XML-based language is used to define valid roles, domains, and users. While most administration of roles, domains, and users occurs in the &amp;#039;&amp;#039;&amp;#039;System Explorer&amp;#039;&amp;#039;&amp;#039; (Under &amp;#039;&amp;#039;&amp;#039;Advanced&amp;#039;&amp;#039;&amp;#039; Tab and &amp;#039;&amp;#039;&amp;#039;Explore System&amp;#039;&amp;#039;&amp;#039;), an alternative method is to load this information from XML-encoded text files.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This section explains the XML specifications for account definition files. &lt;br /&gt;
&amp;lt;!-- DOES THAT APPLY? / Mylene - After creating your own account definition XML files, see Validating and Loading XML on page 200 for information on how to validate and load the files.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== File Locations ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A default account definition file is shipped with the system and can be used as an example for customizing or adding roles, domains, or users. The account definition file, &amp;lt;tt&amp;gt;accounts.xml&amp;lt;/tt&amp;gt;, is contained on the server in the directory: &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server/content/system&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Be sure to save your own account definition XML files in the following location (other than the default location shown above):&lt;br /&gt;
:&amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server/custom&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The account definition DTD can be found on the server at:&lt;br /&gt;
:&amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server/dtds/AccountDefinitions.dtd&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Account Definitions XML Specifications ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is recommended that you be familiar with the user management concepts (role, domain, and user) before reading this section. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following is an example of an &amp;lt;tt&amp;gt;Account Definitions&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[xml,N]&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE AccountDefinitions SYSTEM &amp;quot;../dtds/AccountDefinitions.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;AccountDefinitions&amp;gt;&lt;br /&gt;
&amp;lt;!-- Define Role staff --&amp;gt;&lt;br /&gt;
&amp;lt;Role name=&amp;quot;helpdesk&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;Role name=&amp;quot;staff&amp;quot; parentRoleID=&amp;quot;/helpdesk&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;!-- Define Roles NOC, managers, and operators --&amp;gt;&lt;br /&gt;
&amp;lt;Role name=&amp;quot;NOC&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;Role name=&amp;quot;managers&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;Role name=&amp;quot;operators&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/Role&amp;gt;&lt;br /&gt;
&amp;lt;!-- Define Domain Accounting --&amp;gt;&lt;br /&gt;
&amp;lt;Domain name=&amp;quot;Accounting&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;!-- All users defined for this role will have access to the Data Entry and Bookkeeper roles --&amp;gt;&lt;br /&gt;
    &amp;lt;RoleLink roleID=&amp;quot;/dataentry&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;RoleLink roleID=&amp;quot;/bookkeeper&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Define Users of domain Accounting --&amp;gt;&lt;br /&gt;
    &amp;lt;User userID=&amp;quot;john&amp;quot; password=&amp;quot;apple&amp;quot; &amp;gt;&lt;br /&gt;
        &amp;lt;!-- This user also has access to the NOC Manager role --&amp;gt;&lt;br /&gt;
        &amp;lt;RoleLink roleID=&amp;quot;/NOC/manager&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/User&amp;gt;&lt;br /&gt;
    &amp;lt;User userID=&amp;quot;mary&amp;quot; password=&amp;quot;orange&amp;quot; &amp;gt;&lt;br /&gt;
        &amp;lt;!-- This user also has access to the NOC Manager role --&amp;gt;&lt;br /&gt;
        &amp;lt;RoleLink roleID=&amp;quot;/NOC/manager&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/User&amp;gt;&lt;br /&gt;
    &amp;lt;User userID=&amp;quot;sue&amp;quot; password=&amp;quot;grape&amp;quot; &amp;gt;&lt;br /&gt;
        &amp;lt;!-- This user also has access to the NOC Operator role --&amp;gt;&lt;br /&gt;
        &amp;lt;RoleLink roleID=&amp;quot;/NOC/operator&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/User&amp;gt;&lt;br /&gt;
&amp;lt;/Domain&amp;gt;&lt;br /&gt;
&amp;lt;/AccountDefinitions&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following sections explain each part in the &amp;lt;tt&amp;gt;Account Definitions&amp;lt;/tt&amp;gt; file:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Account Definitions Tag ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;lt;AccountDefinitions&amp;gt;&amp;lt;/tt&amp;gt; tag is the root tag that identifies the enclosed tags as account definitions.&lt;br /&gt;
The tag can contain any number of &amp;lt;tt&amp;gt;&amp;lt;Role&amp;gt;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;lt;Domain&amp;gt;&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;&amp;lt;User&amp;gt;&amp;lt;/tt&amp;gt; tags. There are no attributes for this tag.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Role Tag ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;lt;Role&amp;gt;&amp;lt;/tt&amp;gt; tag is used to define a role in the system. The &amp;lt;tt&amp;gt;Account Definitions&amp;lt;/tt&amp;gt; file can contain any&lt;br /&gt;
number of &amp;lt;tt&amp;gt;&amp;lt;Role&amp;gt;&amp;lt;/tt&amp;gt; tags, which allow the creation of a nested hierarchy of roles. This tag has two required&lt;br /&gt;
attributes:&lt;br /&gt;
:*Name: used in the name of the specific role or subrole.&lt;br /&gt;
:*ParentRoleID: used to identify the parent role in the hierarchical rolespace.&lt;br /&gt;
&lt;br /&gt;
The following example defines a role entitled &amp;#039;staff&amp;#039; in the &amp;#039;helpdesk&amp;#039; rolespace:&lt;br /&gt;
&amp;lt;&amp;lt;tt&amp;gt;&amp;lt;Role name=&amp;quot;staff&amp;quot; parentRoleID=&amp;quot;/helpdesk&amp;quot; /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example defines a hierarchical rolespace with two roles &amp;#039;managers&amp;#039; and &amp;#039;operators&amp;#039; under the&lt;br /&gt;
&amp;#039;NOC&amp;#039; rolespace:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;Role name=&amp;quot;NOC&amp;quot; &amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;Role name=&amp;quot;managers&amp;quot; /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;Role name=&amp;quot;operators&amp;quot; /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;/Role&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the NOC rolespace existed previously, the roles &amp;#039;managers&amp;#039; and &amp;#039;operators&amp;#039; could be created with the&lt;br /&gt;
following:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;Role name=&amp;quot;managers&amp;quot; parentRoleID=&amp;quot;/NOC&amp;quot; /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;Role name=&amp;quot;operators&amp;quot; parentRoleID=&amp;quot;/NOC&amp;quot; /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Domain, User, and Role Link Tags ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;lt;Domain&amp;gt;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;lt;User&amp;gt;&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;&amp;lt;RoleLink&amp;gt;&amp;lt;/tt&amp;gt; tags are used together to create domains and users, and to assign domains and users to existing roles.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;Domain&amp;gt; Tag&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;tt&amp;gt;&amp;lt;Domain&amp;gt;&amp;lt;/tt&amp;gt; tag is used to define a domain in the system. This tag can contain any number of &amp;lt;tt&amp;gt;&amp;lt;RoleLink&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;User&amp;gt;&amp;lt;/tt&amp;gt; tags. The &amp;lt;tt&amp;gt;&amp;lt;Domain&amp;gt;&amp;lt;/tt&amp;gt; tag has one required attribute:&lt;br /&gt;
:* name: used in display labels of the domain.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;User&amp;gt; Tag&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;User&amp;gt; tag is used to define a user in the enclosing domain. The tag can contain any number of&lt;br /&gt;
&amp;lt;RoleLink&amp;gt; tags. The &amp;lt;User&amp;gt; tag has two required attributes:&lt;br /&gt;
:* userID: a user account name that must be unique to the domain.&lt;br /&gt;
:* password: password for the account.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;RoleLink&amp;gt; Tag&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;RoleLink&amp;gt; tag is used to assign the enclosing domain and/or user to a role in the system:&lt;br /&gt;
:* When enclosed in a &amp;lt;tt&amp;gt;&amp;lt;Domain&amp;gt;&amp;lt;/tt&amp;gt; tag, a &amp;lt;tt&amp;gt;&amp;lt;RoleLink&amp;gt;&amp;lt;/tt&amp;gt; tag assigns the specified role to all users in the domain.&lt;br /&gt;
:* When enclosed in a &amp;lt;tt&amp;gt;&amp;lt;User&amp;gt;&amp;lt;/tt&amp;gt; tag, a &amp;lt;tt&amp;gt;&amp;lt;RoleLink&amp;gt;&amp;lt;/tt&amp;gt; tag assigns the specified role to only that user.&lt;br /&gt;
The tag has one required attribute:&lt;br /&gt;
:* roleID: reference to the role ID of a previously defined role, as described in the &amp;lt;tt&amp;gt;Role&amp;lt;/tt&amp;gt; Tag subsection.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The following example defines a domain named &amp;#039;Accounting&amp;#039; with the roles &amp;#039;dataentry&amp;#039; and &amp;#039;bookkeeper&amp;#039;&lt;br /&gt;
assigned to all users defined in the domain.&lt;br /&gt;
&amp;lt;code&amp;gt;[xml,N]&lt;br /&gt;
&amp;lt;Domain name=&amp;quot;Accounting&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;RoleLink roleID=&amp;quot;/dataentry&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;RoleLink roleID=&amp;quot;/bookkeeper&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;User userID=&amp;quot;john&amp;quot; password=&amp;quot;apple&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;User userID=&amp;quot;mary&amp;quot; password=&amp;quot;orange&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;User userID=&amp;quot;sue&amp;quot; password=&amp;quot;grape&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/Domain&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Loading into System ===&lt;br /&gt;
Once the account definitions file (for example, &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server/custom/accounts.xml&amp;lt;/tt&amp;gt;) is created, use the following step to load it to the system&lt;br /&gt;
&lt;br /&gt;
# Use a text editor to create a custom load file (for example, &amp;lt;tt&amp;gt;load_account.txt&amp;lt;/tt&amp;gt;) in &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server/&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
# The content of &amp;lt;tt&amp;gt;load_account.txt&amp;lt;/tt&amp;gt; has one line &amp;lt;tt&amp;gt;custom/accounts.xml&amp;lt;/tt&amp;gt; in it.&lt;br /&gt;
#Log in to enPortal as administrator.&lt;br /&gt;
#Mouse over the &amp;#039;&amp;#039;&amp;#039;Advanced&amp;#039;&amp;#039;&amp;#039; tab and then &amp;quot;&amp;#039;&amp;#039;&amp;#039;Utilities&amp;#039;&amp;#039;&amp;#039;&amp;quot; and click &amp;#039;&amp;#039;&amp;#039;XMLImport&amp;#039;&amp;#039;&amp;#039; to load the account definitions file to the system.&lt;/div&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
</feed>