UserMgrUserGetFirst (FUN)
FUNCTION UserMgrUserGetFirst : RTS_IEC_RESULT
Iteration interface to get the first user
- InOut:
Scope
Name
Type
Comment
Return
UserMgrUserGetFirstRTS_IEC_RESULT- Error code
ERR_OK: First user available
ERR_NO_OBJECT: No user configured
ERR_NO_ACCESS_RIGHTS: User not authorized
Input
hUserRTS_IEC_HANDLEHandle to authorized user
Inout
phIteratorRTS_IEC_HANDLEIteration handle to use with UserMgrUserGetNext()
pszUsernameSTRING(59)Buffer to store the name, 59 chars max
Output
UserPropertyDWORDUser properties. See category ‘User and group properites’