lsload - Lawson Security Load utility

lsload PROFILE filename [-p newProfileId] [-d definitionProductLine] [-a activeDataSource] [-addRoleMapping]

lsload SECCLASS filename [-p profileId] [-s newClass] [-addRoleMapping]

lsload ROLE filename [-r roleId] [-p profileId

lsload ELMGRP filename [-p profileId] [-e newElmgrp]

Use this utility to load Lawson Security information from a file created by lsdump. Using lsload and lsdump together enables you to transfer security information (profile definitions, security classes, rules, and so on) from one profile to another. When you move security information from one profile to another, the two profiles must be defined against Lawson objects (such as a product line) of the same release and type.

Program Option Description
PROFILE Use PROFILE if you want to load the security informaton for one or more profiles. You must load this information from a file created through lsdump with the PROFILE option. If you do not specify a profile ID, this utility will create a profile with the same ID as the profile in the dump file or, if a profile of that ID already exists, if will overwrite the existing profile. If you specify a profile ID, this utility will create a new profile if it does not exist or, if a profile of that ID already exists, it will overwrite the existing profile.
SECCLASS Use SECCLASS if you want to load the security information for one or more security classes. You must load this information from a file created through lsdump with the SECCLASS option. If you specify a profile, the profile must already exist. If you do not specify a profile, a profile with the same ID as the profile ID for the security classes in the dump file must already exist.
ROLE Use ROLE if you want to load the security class and rule information for one or more roles. You must load this information from a file created through lsdump with the ROLE option. If you specify a profile, the profile must already exist. If you do not specify a profile, a profile with the same ID as the profile ID for the role's security classes in the dump file must already exist
filename The name of the file containing the security information to load.
p newProfileId | profileId

Use the -p option along with a profile ID in order to load the information for only the specified profile. If you are using the PROFILE option, you can use the profile ID you specifiy with the -p option to create a new profile. If you do not use the -p option, the utility loads in the profile information based on the profile IDs in the dump file, creating or overwriting profile definitions depending on whether the profile IDs match existing ones or not.

If you are using lsload in the SECCLASS or ROLE mode, the -p option allows you to load the security information into a specific profile. If you specify a profile, the profile must already exist. If you do not specify a profile, a profile with the same ID as the profile ID for the security classes in the dump file must already exist.

d definitionProductLine The -d option changes the definition product line for the Environment to which you are loading security information. (You can also set the definition product line through the Security Administrator).
a activeDataSource The -a option assigns the profile you are loading to the data source you specify. (You can also set the profile assignments for data sources through the Security Administrator)
-addRoleMapping

This option allows you to load not only profile and security class information

This option can be used when a profile or security class was dumped using the same option. This option will then create a new profile, create new roles if they are not already on the system, and create the role assignments. Since the lsdump utility also dumped the users assigned to the roles, using this option will also update the first name, last name, and role attribute on any user that exists on the target system. All users that do no exist on the target system are written to an xml file. This xml file is formatted so that you can add the users through the loadusers utility.

s newClass The -s option along with a new security class name allows you to create new security classes when you use lsload. If you are loading multiple security classes, the utility will prompt you for additional new names for each security class past the first one.
o The -o option causes lsload to destroy all existing data for a security class prior to loading when there is an existing security class of the same name as one you are loading.
r roleId Use the -r option along with a role ID in order to load the security information for the security classes associated only with the specified role.
e [newElmgrp] Use the -e option to load element group information. You can also specify a profile to load the element group information for and you can supply a new name for the element group.