IVisuUserManagement2.LoginToUserGroups (METH)
METHOD LoginToUserGroups : BOOL
With this method a programmatic login for a specific visualization client can be executed for a list of user groups. It does NOT check if the credentials are ok. It works with both legacy and runtime-based user management If everything is correct the function returns TRUE.
- InOut:
Scope
Name
Type
Comment
Return
LoginToUserGroupsBOOLInput
pClientPOINTER TO BYTE
A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData
padwUserGroupIdsPOINTER TO ARRAY [0..0] OF DWORD
A pointer to an array of user group ids
dwUserGroupCountDWORDThe number of user groups ids in the array padwUserGroupIds
wstUserNameWSTRING(79)The user name which is afterwards content in VisuElems.CurrentUserName
wstFullNameWSTRING(79)The full user name which is afterwards content in VisuElems.CurrentFullUserName