EventIDs (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant CMPID_CmpUserMgr DWORD 16#61 EVTPARAMID_CmpUserMgrDatabaseChanged WORD 16#1 EVTVERSION_CmpUserMgrDatabaseChanged WORD 16#1 EVT_UserMgrDatabaseChanged DWORD (SHL(UINT_TO_DWORD(EVTCLASS_INFO), 16) OR 16#1)
Properties (GVL) ¶ Properties Properties for a user. Use as bit-mask. InOut: Scope Name Type Initial Constant USERMGR_USER_PROP_PASSWORD_EXPIRED DWORD 16#1000 USERMGR_USER_PROP_ALLOW_CHANGE_PASSWORD DWORD 16#2000 USERMGR_USER_PROP_DEFAULT DWORD (USERMGR_USER_PROP_ALLOW_CHANGE_PASSWORD + USERMGR_USER_PROP_PASSWORD_EXPIRED)
Structs ¶ UserMgrCredentials (Struct) UserMgrCredentials_Password (Struct) UserMgrCredentials_Store (Union)
UserMgrCredentials (STRUCT) ¶ TYPE UserMgrCredentials : STRUCT InOut: Name Type credentialsType UserMgrCredentials_Type credential UserMgrCredentials_Store
UserMgrCredentials_Password (STRUCT) ¶ TYPE UserMgrCredentials_Password : STRUCT InOut: Name Type pszPassword POINTER TO STRING
UserMgrCredentials_Store (UNION) ¶ TYPE UserMgrCredentials_Store : UNION InOut: Name Type pwd UserMgrCredentials_Password
Types ¶ EVTPARAM_CmpUserMgrDatabaseChanged (Struct) UserMgrCacheValue (Struct) UserMgrCredentials_Type (Enum) UserMgrTypeClass (Enum) UserMgrValue (Union)
EVTPARAM_CmpUserMgrDatabaseChanged (STRUCT) ¶ TYPE EVTPARAM_CmpUserMgrDatabaseChanged : STRUCT InOut: Name Type bUserManagementChanged DINT bRightsManagementChanged DINT
UserMgrCacheValue (STRUCT) ¶ TYPE UserMgrCacheValue : STRUCT InOut: Name Type typeClass UserMgrTypeClass value UserMgrValue
UserMgrGroupAdd (FUN) ¶ FUNCTION UserMgrGroupAdd : RTS_IEC_RESULT Add a group to user group database InOut: Scope Name Type Comment Return UserMgrGroupAdd RTS_IEC_RESULT Error code ERR_OK: Group could be added ERR_NOMEMORY: No memory to add group ERR_DUPLICATE: pszGroupName is already added. ERR_FAILED: Creating user or group lists failed ERR_NO_ACCESS_RIGHTS: User not authorized Input hUser RTS_IEC_HANDLE Handle to authorized user Inout Const pszGroupName STRING Name of the group