IVisuUserManagement2.LoginToUserGroup (METH)

METHOD LoginToUserGroup : BOOL

With this method a programmatic login for a specific visualization client can be executed for one specific user group. 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

LoginToUserGroup

BOOL

Input

pClient

POINTER TO BYTE

A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData

dwGroupId

DWORD

The user group id

wstUserName

WSTRING(79)

The user name which is afterwards content in VisuElems.CurrentUserName

wstFullName

WSTRING(79)

The full user name which is afterwards content in VisuElems.CurrentFullUserName