Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

IProcessAnalyst​.AdminPrivilegeLevel [Property] [Get]

IProcessAnalyst​.AdminPrivilegeLevel [Property] [Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Retrieves the privilege level currently set for controlling administration features of the Process Analyst at Run-time.

Defined As

  • [VBA] Integer AdminPrivilegeLevel

  • [Cicode] INT AdminPrivilegeLevel

  • [C++] short AdminPrivilegeLevel

Execution Result

If the property get succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument.

Remarks

By default the level is 0 (Zero), which allows access to every feature at run time. Setting this to any other level will require the operator viewing the Process Analyst to have a privilege equal to that level.

This property can only be set at design time (in the Graphics Builder property pages) and is recommended to prevent Operators from changing performance properties such as DataRequestRate and DisplayRefreshRate.

Limits

Privilege level defined in Plant SCADA 1 - 8. 0 = no security.

Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".

[VBA]

Sub Example()
Dim privilege As Boolean
`Getting Property value
privilege = myPage_AN35.AdminPrivilegeLevel
End Sub

[Cicode]

FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
INT privilege;
// Getting current property value
privilege = _ObjectGetProperty(hProcessAnalyst,"AdminPrivilegeLevel");
END

In This Topic
TitleResults for “How to create a CRG?”Also Available in