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,640
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,352
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
138
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
149
Hi everyone. I'm beginner with Ifix. I'm appreciate if you share me some document to understand how to play with Ifix 6.0. By the way, I have some...
Replies
11
Views
686
Back
Top Bottom