Sample XML: User Organizational Structure
The following XML example shows how to add a user-based organizational structure to FlexNet Manager for Engineering Applications. The notes attribute can contain up to 1,000 characters.
You can include up to 13 custom user attributes in the XML for a user-based organizational structure. To include a custom user attribute, use the following format—
customn=”value”
—where n is the custom attribute number. For example, you might use a custom attribute (custom1) to identify a contractor’s company affiliation and another custom attribute (custom2) to indicate whether an employee is working remotely or in-house:
custom1=”ContractCo”
custom2=”remote“
In the FlexNet Manager for Engineering Applications user interface, you can provide user-friendly names for the custom user attributes using the Custom User-Attributes Names page. Note that you must use the format customn to specify custom user attributes in the XML file, even if you have provided user-friendly names for the attributes.
Note:The isnew flag has been deprecated. The flag must be present in the XML file, but the value is not processed
<?xml version="1.0" encoding="UTF-8"?>
<orgStructures startDate="2005-01-01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="orgStructure.xsd">
<userOrgStructure name="Sample Users Org Structure" isNew="true">
<userOrgNode name="FNM Users" notes="All users using FNM product">
<userOrgNode name="Engg">
<user name="jon" firstName="John" lastName="Kent" address1="A Street" address2="Suite 402" city="San Francisco" state="CA" postalCode="00000" country="USA" phoneNumber="123-000-0000" cellNumber="000-000-0000" email="jon@companyname.com" department="Engg" status="active" custom1="ContractCo"/>
<user name="mayu" firstName="Mayu" lastName="Aegie" address1="A Street" address2="Suite 402" city="San Francisco" state="CA" postalCode="00000" country="USA" phoneNumber="123-000-0000" cellNumber="000-000-0000" email="maegie@companyname.com" department="QA" status="active" custom1="ContractCo"/>
</userOrgNode>
<userOrgNode name="Services">
<user name="cathy" firstName="Cathy" lastName="Olsen" address1="A Street" address2="Suite 302" city="San Francisco" state="CA" postalCode="00000" country="USA" phoneNumber="123-000-0000" cellNumber="000-000-0000" email="cathy@companyname.com" department="Sales" status="active"/>
<user name="rob" firstName="Rob" lastName="Rodriguez" address1="A Street" address2="Suite 202" city="San Francisco" state="CA" postalCode="00000" country="USA" phoneNumber="123-000-0000" cellNumber="000-000-0000" email="rob@companyname.com" department="Support" status="active"/>
</userOrgNode>
</userOrgNode>
</userOrgStructure>
</orgStructures>
See Also