User Level
Organization Manager
User LevelOrganization Manager SyntaxAdd ProductThe Add Product command is used to define a dynamic product configuration. Syntax
Title ClauseThis clause specifies the full name of the dynamic product configuration. Check ProductThe Check Product command lets you check if a license for the product exists.
The result of this command is either true or false. Modify ProductThe Modify Product command is used to add or remove defining clauses and change the value of clause arguments for a product definition. Syntax
Assigning and Removing User LicensesWhen you add a user to a product definition, a license is assigned to that user. This license is not automatically reserved for that user. Licenses are reserved for a user ONLY at the time they log in. This means if a user is assigned a license for a product after they have logged in, the new license will not be reserved until that user logs in again. Once a user logs in, a license is consumed in each product that contains a role assigned to that user. Users assigned to roles in different products require licenses to be available in all those products. If a license is not available for every product the user requires, the user will not be able to login. All of the licenses associated with a user must be available. Additionally, even if a user is unable to login because all of the licenses associated are not available, a CPF license will still be reserved for that user. When you remove a user from a product definition via MQL, that user’s license is not immediately released and made available. To release the user license immediately, you must remove the user via the user interface in BPS. Assigning Casual LicensesCasual licensing allows a customer to order a license with a maximum number of prepaid usage hours per month. The MQL command to add, remove, or update the number of casual license hours is as follows:
The following is a typical casual licensing scenario:
For casual users to be able to check the User Still Alive and User End Session events, the MX_NUL_TRACE variable must be enabled. The selectables Below are two examples of the MQL code that assigns the product ENG to two persons, one with a full license and another with a casual license for 30 hours per month. The first example shows the case of a non-online instance, the second one shows a case using an online instance: // assign product to person (non-onlineinstance case) MQL<1>modify product ENG add person p1; MQL<2>modify product ENG add casualhour 30 person p2; MQL<3>print product ENG select person; product ENG person = p1 MQL<4>print product ENG select casualhour; product ENG casualhour = 30 MQL<5>print product ENG select casualhour[30].person; product ENG casualhour[30].person = p2 MQL<6>print person p1 select product; person p1 product = ENG MQL<7>print person p2 select casualhour; person p2 casualhour = 30 MQL<8>print person p2 select casualhour[30].product; person p2 casualhour[30].product = ENG // assign product to person (onlineinstance case) MQL<1>modify product ENG add onlineinstance oi1 person p3; MQL<2>modify product ENG add onlineinstance oi1 casualhour 40 person p4; MQL<3>print product ENG select onlineinstance[oi1].person; product ENG onlineinstance[oi1].person = p3 MQL<4>print product ENG select onlineinstance[oi1].casualhour; product ENG onlineinstance[oi1].casualhour = 40 MQL<5>print product ENG select onlineinstance[oi1].casualhour[40].person; product ENG onlineinstance[oi1].casualhour[40].person = p4 MQL<6>print person p3 select onlineinstance[oi1].product; product ENG onlineinstance[oi1].product = ENG MQL<7>print person p4 select onlineinstance[oi1].casualhour; person p4 onlineinstance[oi1].casualhour = 40 MQL<8>print person p4 select onlineinstance[oi1].casualhour[40].product; person p4 onlineinstance[oi1].casualhour[40].product = ENG Delete ProductThe Delete product command allows you to delete a dynamic product configuration that is no longer needed. Because deleting certain items can affect other elements, use it carefully.
|