UserMgrGroupGetName (FUN)

FUNCTION UserMgrGroupGetName : RTS_IEC_RESULT

Get group name

InOut:

Scope

Name

Type

Comment

Return

UserMgrGroupGetName

RTS_IEC_RESULT

Error code
  • ERR_OK: Group name is returned

  • ERR_PARAMETER: Invalid group handle

  • ERR_BUFFERSIZE: The buffer was too small

  • ERR_NO_ACCESS_RIGHTS: User not authorized

Input

hUser

RTS_IEC_HANDLE

Handle to authorized user

hGroup

RTS_IEC_HANDLE

Handle to the group

Inout

pszGroup

STRING(59)

Buffer to store the name, 59 chars max