<< Click to Display Table of Contents >> Navigation: Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions > Func25_UserAuthorized |
Description
This function checks to see if the current asset and the authorization are owned by the same user.
Processing Notes
•First the 'AuthHowNo' field is checked on the MSLno record. If it is not authorized by named user, then set the return to else and exit.
•Next the 'ctNo' field is checked on the asset record to determine if an owner is assigned. If not, set the return to else and exit.
•Next the 'ctNo' field is checked on the authorization record to determine if an owner is assigned. If not, set the return to else and exit.
•Finally, the two owners are compared. If equal, set the return to true and exit. Otherwise, set the return to false and exit.
Inputs
Parameter |
Explanation |
---|---|
None. |
|
Outputs
Result |
Result Explanation |
Confidence Adjustment |
Return Value |
---|---|---|---|
True |
The asset and authorization have the same owner. |
|
-1 |
False |
The asset and authorization do not have the same owner. |
|
0 |
Else |
The MSL is not authorized by named user. (This probably means that this RD should not exist for this MSL) The asset owner field is blank. The authorization owner field is blank. The asset record was not found. If a runtime error is encountered. |
Y |
0 |