iFix set user security

asterof

Member
Join Date
May 2007
Location
Califonia
Posts
554
[FONT=Courier New,Courier New][FONT=Courier New,Courier New]Public Sub SecurityGetUser()
Dim Result As Integer
[/FONT]
[/FONT]Writing Scripts 110
Dim UserID As String
Dim UserName As String
Dim GroupName As String
Dim UserInfo As String
System.FixGetUserInfo UserID, UserName, GroupName
MsgBox "Login Name: " & UserID & vbCr & "Full Name: " _
& UserName & vbCr & "Clearance Level: " & GroupName
End Sub
Anyway you know of to set the curent user using vba
 
Closing the loop on this question with the answer...

Just an example...

Dim UserName As String
Dim Password As String

UserName = "ADMIN" 'Use Login name (not Full name)
Password = "12345"

System.FixLogout 'Logout current profile
System.FixLogin UserName, Password
 

Similar Topics

Hi everybody, I am trying to set PCL time and date from iFix VBA code and I don't even know where to start. Does anybody know the command or...
Replies
3
Views
2,666
Hey I have a big problem.. i have to synronice time and date from my Ifix into my siemens S7-300... how do i do that Henrik
Replies
1
Views
3,362
Hi I have a ifix 5.5 application where the operator opens a valve by clicking on a screen object. I can trace from object to data base that it is...
Replies
2
Views
68
Dear all, I am beginer in ifix hmi programming. I have 2 ifix 6.0 pc with license FiX and client.. Can some one tell me how to configure sample...
Replies
0
Views
180
Hello, I have to deal with iFix again and am looking at the most efficient way to create alarms to display in iFix, i.e. not creating an...
Replies
0
Views
178
Back
Top Bottom