User Role

Hello All,

How can I get the current User role or a User type of a logged user?

Thanks

Parents
  • Hello Nick,

    UserInfo

    The type of user information:

    0 - Flag to indicate whether any user other than a view-only user is logged in

    1 - The login name of the user

    2 - The full name of the user

    3 - The time the user logged in

    4 - The time the user entered the last command

    5 - The number of commands entered by the user

    6 - The type of login:
    •"0" indicates that the current user is a view-only user.
    •"1"indicates there is Citect SCADA or Windows non-default user explicitly logged in.
    • "2" indicates the logged on user is a Citect SCADA default user (control client auto login Citect SCADA user).
    •"3" indicates the logged on user is a Windows default user (control client auto login windows user).

    Return Value

    Don´t have the Role
Reply
  • Hello Nick,

    UserInfo

    The type of user information:

    0 - Flag to indicate whether any user other than a view-only user is logged in

    1 - The login name of the user

    2 - The full name of the user

    3 - The time the user logged in

    4 - The time the user entered the last command

    5 - The number of commands entered by the user

    6 - The type of login:
    •"0" indicates that the current user is a view-only user.
    •"1"indicates there is Citect SCADA or Windows non-default user explicitly logged in.
    • "2" indicates the logged on user is a Citect SCADA default user (control client auto login Citect SCADA user).
    •"3" indicates the logged on user is a Windows default user (control client auto login windows user).

    Return Value

    Don´t have the Role
Children
No Data