Use Credentials to Access Operations
When administrative security is enabled on the license server, the license server administrator and enterprise users must use their credentials with the -authorize option to perform operations for which they are authorized. For example, if an enterprise user account is assigned ROLE_RESERVATIONS, the user would provide credentials in a command typical of the following:
flexnetlsadmin -server licenseServer_baseURL -authorize accountName {accountPassword|
‑passwordConsoleInput} -reservations -delete...
The -authorize command requires these credentials:
• | accountName—The case-sensitive name for the account attempting to perform the operation. |
• | accountPassword—The case-sensitive password for the account. |
Note that users can provide their account password directly in the command; or, to avoid exposing this password as a command-line argument, they can use the -passwordConsoleInput option, which then issues a prompt to enter the password as console input.
Note:(Linux only) If you supply a password directly on the command line you may need to escape some characters with a backslash in order to prevent the shell from interpreting them. The safest approach is to surround the whole password with single quotes, and backslash any single quote that is part of the password.
Attempts to Perform Non-Authorized Operations
If a user attempts to perform an operation that requires authorization, but has not provided credentials or is not authorized to perform the operation, an “access denied” message is displayed. The user must either enter the credentials or contact you about obtaining appropriate credentials.