Administration > Type and Attribute Management Command-Line Tools > Exporting and Importing Type Information > Importing Types and Global Enumerations > Importing Attribute-Based Security Rules
  
Importing Attribute-Based Security Rules
To import attribute-based security rules (ABSRs), run the following command from within a Windchill shell:
windchill com.lcs.wc.load.LoadABSR -f <filename> -d <delimiter> -u <userID> –p <password> -m <mapfile>
where <filename> is the name or path of the file to import, <delimiter> is the delimiter to separate values, <userID> and <password> are the user name and password of a site administrator, and <mapfile> is the map file or path. For example:
windchill com.lcs.wc.load.LoadABSR -f all.csv -d , -u wcadmin –p wcadmin -m <Windchill>\loadFiles\lcsLoadFiles\lcsmapfile.txt
The default map file is lcsmapfile.txt. If you specify a file for either the <filename> or <mapfile>, then the tool looks for the file in <Windchill>\loadFiles\lcsLoadFiles. If you specify a full path or relative path, the tool looks for the files in the specified location.
The following is an example of an import log:
********************** Started
Load Of File 'C:\ptc\x24\WISP_Install\Windchill\ccccc.csv' At Tue Aug 19 12:13:57 CST 2014

Processing line 1 from file C:\ptc\x24\WISP_Install\Windchill\ccccc.csv.
When the import is complete, check the method server log for any errors or warnings.
Processing line 2 from file C:\ptc\x24\WISP_Install\Windchill\ccccc.csv.
When the import is complete, check the method server log for any errors or warnings.
Successful create line 2: Class = AttributeAccessRule
Check method server output for successful completion of all loads.

********************** Completed
Load Of File 'C:\ptc\x24\WISP_Install\Windchill\ccccc.csv' At Tue Aug 19 12:17:12 CST 2014