Elastic Path Production Tools

CMUser

CMUser

A CMUser is a Commerce Manager administrator account. Each account has access to certain features, as determined by the user roles assigned to the account. For more information on Commerce Manager administrator accounts, see the Commerce Manager User Manual.

The table below describes some of the CMUser XML elements:

XML Element

Definition

<enabled>

Shows a true/false value that sets the CMUser to be disabled or enabled in the Commerce Manager.

<user_password_history_items>

Provides a list of passwords the CMUser has used. Up to four passwords are stored.

<has_temporary_password> Indicates the CM user has a temporary password. On log in, the CM prompts the user to change their password.

<user_role_guids>

Lists the User Roles assigned to the CMUser.

<catalog_codes>

Lists the Catalogs the CMUser has access to.

<store_codes>

Lists the Stores the CMUser has access to.

<warehouse_codes>

Lists the Warehouses the CMUser has access to.

Sample XML: CMUser

<cmusers>
...
<cmuser guid="03BAF4C3-0D92-093D-E9D6-B03CDDBAD3AC">
    <user_name>ViewProductPricing</user_name>
    <email>test21@pd.local</email>
    <first_name>PricePermissionViewProductPricing</first_name>
    <last_name>PermissionTest</last_name>
    <password>e38ad214943daad1d64c102faec29de4afe9da3d</password>
    <creation_date>2012-01-30T16:06:48-08:00</creation_date>
    <last_login>2012-02-01T10:13:02-08:00</last_login>
    <last_password_change>2012-01-30T16:28:41-08:00</last_password_change>
    <last_modified>2012-02-01T10:13:02-08:00</last_modified>
    <total_failed_login_attempts>0</total_failed_login_attempts>
    <enabled>true</enabled>
    <has_temporary_password>false</has_temporary_password>
    <user_password_history_items/>
    <has_access_to_all_warehouses>true</has_access_to_all_warehouses>
    <has_access_to_all_catalogs>true</has_access_to_all_catalogs>
    <has_access_to_all_stores>true</has_access_to_all_stores>
    <has_access_to_all_price_lists>true</has_access_to_all_price_lists>
    <user_role_guids>
        <user_role_guids>202</user_role_guids>
        <user_role_guids>F64A4413-C442-980F-CF6B-C195A38CA4FD</user_role_guids>
    </user_role_guids>
    <price_list_guids/>
    <catalog_codes/>
    <store_codes/>
    <warehouse_codes/>
</cmuser>
...
</cmusers>