UserPrivileges

Use these string constants to check if a user has a particular built-in privilege . Use the Engine.CurrentUserHasPrivilege or User.HasPrivilege method with these constants.

  • Priv_Abort –(Value: "Abort")
  • Priv_ConfigAdapter –(Value: "ConfigAdapter")
  • Priv_ConfigApp –(Value: "ConfigApp")
  • Priv_ConfigDatabase –(Value: "ConfigDatabase")
  • Priv_ConfigEngine –(Value: "ConfigEngine")
  • Priv_ConfigModel –(Value: "ConfigModel")
  • Priv_ConfigReport –(Value: "ConfigReport")
  • Priv_Configure –(Value: "Configure")
  • Priv_CtrlExecFlow –(Value: "ControlExecFlow")
  • Priv_Debug –(Value: "Debug")
  • Priv_Develop –(Value: "Develop")
  • Priv_EditProcessModelFiles –(Value: "EditProcessModelFiles")
  • Priv_EditRuntimeVariables –(Value: "EditRuntimeVariables")
  • Priv_EditSequenceFiles –(Value: "EditSequenceFiles")
  • Priv_EditStationGlobals –(Value: "EditStationGlobals")
  • Priv_EditTemplates –(Value: "EditTemplates")
  • Priv_EditTypes –(Value: "EditTypes")
  • Priv_EditUsers –(Value: "EditUsers")
  • Priv_EditWorkspace –(Value: "EditWorkspace")
  • Priv_Execute –(Value: "Execute")
  • Priv_GrantAll –(Value: "GrantAll") This property exists in all the group privileges in the user privileges property view. If the value is True , the user is granted all the privileges in the group.
    Note Do not use this constant with the Engine.CurrentUserHasPrivilege method.
  • Priv_LoopSelectedTests –(Value: "LoopSelectedTests")
  • Priv_Operate –(Value: "Operate")
  • Priv_RunAnySequence –(Value: "RunAnySequence")
  • Priv_RunSelectedTests –(Value: "RunSelectedTests")
  • Priv_SaveSequenceFiles –(Value: "SaveSequenceFiles")
  • Priv_SinglePass –(Value: "SinglePass")
  • Priv_Terminate –(Value: "Terminate")
  • Priv_UserLoggedIn –(Value: "*") Use this value with the Engine.CurrentUserHasPrivilege method to determine whether a user is logged in.
  • Priv_UseSourceControl –(Value: "UseSourceControl")

See Also

Engine.CurrentUserHasPrivilege

User.HasPrivilege

User and Group Privileges