IVisuUserManagement.CheckLoginWithGroupID (METH)

METHOD CheckLoginWithGroupID : VUM_ReturnValues

This method checks whether the user is in the database, the password is correct and the user belongs to the user group. It works with both legacy and runtime-based user management If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues (ENUM) where possible error reasons are described.

InOut:

Scope

Name

Type

Comment

Return

CheckLoginWithGroupID

VUM_ReturnValues

Input

wstUserName

WSTRING

the user name

wstPassword

WSTRING

the password of the user

dwUserGroupID

DWORD

the user group id to which the user must belong to