UserMgrGroupGetFirstUser
(FUN)
FUNCTION UserMgrGroupGetFirstUser : RTS_IEC_RESULT
Iteration interface to get the first user of the user group
- InOut:
Scope
Name
Type
Comment
Return
UserMgrGroupGetFirstUser
RTS_IEC_RESULT
- Error code
ERR_OK: First user in the group available
ERR_NO_OBJECT: No user configured in the user group
ERR_NO_ACCESS_RIGHTS: User not authorized
Input
hUser
RTS_IEC_HANDLE
Handle to authorized user
hGroup
RTS_IEC_HANDLE
Group handle
Inout
phIterator
RTS_IEC_HANDLE
Iteration handle to use with UserMgrGroupGetNextUser()
pszUsername
STRING(59)
Buffer to store the name, 59 chars max