bdanelon Member B Join Date Oct 2003 Posts 11 Dec 6, 2007 #1 Can anyone tell tell if there is a way to know who (Code letter) is logged in to the versa view. Thanks
Can anyone tell tell if there is a way to know who (Code letter) is logged in to the versa view. Thanks
tvey Lifetime Supporting Member T Join Date Mar 2005 Location Halifax, NS Posts 99 Dec 6, 2007 #2 Take a look at the 'CurrentUserCodes' property. Here's the example script from the help file. You can modify it to copy the current user code to a string tag for your HMI to read: Code: Sub CurrentUserInfo() gActivity.Log "The current user '" & gSecurity.CurrentUserName _ & "' has codes '" & gSecurity.CurrentUserCodes & "'." End Sub
Take a look at the 'CurrentUserCodes' property. Here's the example script from the help file. You can modify it to copy the current user code to a string tag for your HMI to read: Code: Sub CurrentUserInfo() gActivity.Log "The current user '" & gSecurity.CurrentUserName _ & "' has codes '" & gSecurity.CurrentUserCodes & "'." End Sub