OS and Software Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > OS and Software >

 OS and Software Operations

IAU. / NUA. - If User is Administrator

Previous Top Next


MiniRobotLanguage (MRL)

 

IUA. / NUA. Conditional statement

Check if User is Admin

 

 

Intention

 

Can be used to verify that the current running script had admin privileges.

Internally the command will check, if the current user is a member of the Administrator group.

 

 

 

Syntax

 

 

IAU. ... ELS. ... EIF.

 

 

Parameter Explanation

 

This command does not support any parameters.

 

 

 

Example

 

'-----------------------------------------------------------

' IUA.

'

' Without Parameter!

'-----------------------------------------------------------

'

IUA.

  DBP. User is Admin.

ELS.

  DBP. User is not Admin.

EIF.

ENR.

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

 

See also:

 

    GIP. - Get IP Adress

    GUN. - Get User Name

    GUS. - Get Usage State

    GPU. - Get Process User

    GUD. - Get User and Domain