Returns the user ID (short name) from iFIX security for the given user name and password. This ID is used when sending a signed operator message.
Syntax
object.GetUserID(bstrUserName, bstrPassword, bstrUserID)
Properties
The GetUserID method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrUserName |
String. The name of the event. |
bstrPassword |
String. The code to be written to the event in the form of strings. |
bstrUserID |
String. Returns the user ID (short name) of the user in iFIX security. |
Return Value
This method returns HRESULT. If the HRESULT is a value other than S_OK, VBA generates an error. You can handle this error using the On Error Statement You can find out more information about the error by using Err Object.