CurrentUserCodes property

Returns the current user's runtime security codes. These are the letters assigned to users in the Security Settings dialog box of the FactoryTalk View Runtime Security editor. An empty string is returned if the user has no codes. Read-only. String.
Syntax
Application
.
CurrentUserCodes
where
Application
– is the name of a
FactoryTalk View SE
Client Application object or an expression that evaluates to a
FactoryTalk View SE
Client Application object.
Remarks
When testing the animation in displays in the Graphics editor, attempts to read this property raise an error with Err.Number equal to gfxErrorTestAnimation.
The CurrentUserCodes property returns an asterisk (*) if the current user possesses all security codes (A through P). Display code that uses this property should be designed to handle the case of an asterisk being returned.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal