Skip to end of banner
Go to start of banner

Create LMS Test Users via Command

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Version History

« Previous Version 3 Next »

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]-psteststudent@marinels.com" [OrgShortName]MarineLMSPSTestStudent
EditUserProperty  [OrgShortName]MarineLMSPSTestStudent ContactEmail ps@marinels.com

Note: replace [orgPath], [OrgShortName] and [password] accordingly

Example for CMG

AddUser /Root/Carnival/CMG "MarineLMS PS" "CMG-TestStudent" 3Xg&Ok3ZCrOFzlnRwZ5CHex8VHf50kPW5@kSVOH%CxLV&K$kpQvq#U false "cmg-psteststudent@marinels.com" CMGMarineLMSPSTestStudent
EditUserProperty  CMGMarineLMSPSTestStudent ContactEmail ps@marinels.com

PS Test Admin

AddUser [orgPath] "MarineLMS PS" "[OrgShortName]-TestAdmin" [password] false "[OrgShortName]-pstestadmin@marinels.com" [OrgShortName]MarineLMSPSTestAdmin
EditUserProperty  [OrgShortName]MarineLMSPSTestAdmin ContactEmail ps@marinels.com

Note: replace [orgPath], [OrgShortName] and [password] accordingly

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

AddUserToGroup /Root/Carnival/CCL MarineMLS-PS-TestUser-Administrators [OrgShortName]MarineLMSPSTestAdmin
AddLinkAttribute /Root/Carnival/CCL System.Capability.CanViewOfferingRuleMatrix "OrgAdmin : ALLOW : IsInGroup(MarineMLS-PS-TestUser-Administrators)"

Note: the permissions attribute may already exist.

Example for CMG

Create user:

AddUser /Root/Carnival/CMG "MarineLMS PS" "CMG-TestAdmin" mB80u9%WgrPQFZuAyetVmGlc@Pztm2Pq9u#86Kr2GMh7u77#8pw6TJ false "cmg-pstestadmin@marinels.com" CMGMarineLMSPSTestAdmin
EditUserProperty  CMGMarineLMSPSTestAdmin ContactEmail ps@marinels.com

Add admin permission:

AddUserToGroup /Root/Carnival/CCL MarineMLS-PS-TestUser-Administrators CMGMarineLMSPSTestAdmin
AddLinkAttribute /Root/Carnival/CCL System.Capability.CanViewOfferingRuleMatrix "OrgAdmin : ALLOW : IsInGroup(MarineMLS-PS-TestUser-Administrators)"

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.