Create LMS Test Users via Command
In general, but in particular for PS, test users are required on all Test and Live installations/orgs. To make sure the user name and other settings are the same across the LMS installations please use the below command set to create test users.
Test users should be added to LastPass. PS has a shard folder in LastPass called Shared-PS-QA to store all PS related test user logins.
PS Test Student
AddUser [orgPath] "MarineLMS PS" "[OrgShortName]-TestStudent" [password] false "[OrgShortName][Live|Test]-psteststudent@marinels.com" [OrgShortName][Live|Test]-MarineLMSPSTestStudent
EditUserProperty [OrgShortName][Live|Test]-MarineLMSPSTestStudent ContactEmail ps@marinels.com
Notes:
Replace
[orgPath]
,[OrgShortName]
and[password
] accordinglyChoose one of the options
[Live|Test]
depending whether this is a live or test system to differentiate between the users
Example for CMG
AddUser /Root/Carnival/CMG "MarineLMS PS" "CMG-TestStudent" 3Xg&Ok3ZCrOFzlnRwZ5CHex8VHf50kPW5@kSVOH%CxLV&K$kpQvq#U false "cmglive-psteststudent@marinels.com" CMGLive-MarineLMSPSTestStudent
EditUserProperty CMGLive-MarineLMSPSTestStudent ContactEmail ps@marinels.com
PS Test Admin
AddUser [orgPath] "MarineLMS PS" "[OrgShortName]-TestAdmin" [password] false "[OrgShortName][Live|Test]-pstestadmin@marinels.com" [OrgShortName][Live|Test]-MarineLMSPSTestAdmin
EditUserProperty [OrgShortName][Live|Test]-MarineLMSPSTestAdmin ContactEmail ps@marinels.com
Notes:
Replace
[orgPath]
,[OrgShortName]
and[password
] accordinglyChoose one of the options
[Live|Test]
depending whether this is a live or test system to differentiate between the users
After creating the admin user, go to Manage > Users
and enable 'Course Management Rights' and check 'Manage users in the organization' in tab 'Global Management Rights'.
Permissions for PS Test Admin
Allow the test admin to download offering rule matrices
Note: the permissions attribute may already exist.
Example for CMG
Create user:
Add admin permission: