17 UserLoginType

17.1 UserLoginType definition

This ObjectType allows to automatically transfer the login information of the user logged in on the production machine to the granulate dryer so that there no separate login is necessary.

The GDD as server shows the user who is currently logged in at the device and provides Methods to pass the user currently logged in to the machine to the GDD. The Methods for the remote logging in/out shall be called automatically by the machine when a user logs in/out there. The device can decide whether to accept the login of the machine user via OPC UA or to deny the Method with an error code, e.g. if a user is already logged in at the device itself or the machine is not authorized.

Figure 7 - UserLoginType Overview
Table 40 - UserLoginType Definiton
Attribute Value
BrowseNameUserLoginType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the 0:BaseObjectType defined in OPC 10000-5
HasComponentObjectActualUser4:UserTypeM
HasComponentMethodLoginMachineUserM
HasComponentMethodLogoutMachineUserM
Conformance Units
OPC 40082-6 Users

17.2 ActualUser

The ActualUser Object holds always the actual active user on the GDD system (HMI). If a remote login of a machine user via the Method LoginMachineUser is successful, the user should appear in this variable. If the machine user is logged out via the Method LogoutMachineUser, the IsPresent property of the ActualUser becomes false. The UserType is defined in OPC 40083.

17.3 LoginMachineUser

When the Method LoginMachineUser from the GDD is called by the machine, the requested user can be logged in to the device system. If a user is already logged in to the device or the passed arguments cannot be interpreted or supported, the server can deny the Method and ActualUser remains unchanged.

Signature

	LoginMachineUser (
		[in]	0:String			Id,
		[in]	0:String			Name,
		[in]	0:String			CardUid,
		[in]	0:String			UserLevel,
		[in]	0:String			UserRole,
		[in]	0:LocaleId			Language);
Table 41 - LoginMachineUser Method Arguments
Argument Description
IdThe Id of the user according to 4:UserType
NameThe Name of the user according to 4:UserType
CardUidThe CardUid of the user according to 4:UserType
UserLevelThe UserLevel of the user according to 4:UserType
UserRoleThe UserRole of the user according to 4:UserType
LanguageThe Language of the user according to 4:UserType

All arguments may contain empty Strings if not supported.

Table 42 - LoginMachineUser Method AddressSpace Definiton
Attribute Value
BrowseNameLoginMachineUser
References Node Class BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[]0:PropertyType0:Mandatory

17.4 LogoutMachineUser

The machine shall report to the device via the Method LogoutMachineUser when a user is logged out. The IsPresent property of the ActualUser then becomes false again.

Signature

	LogoutMachineUser(); 

The Method has no Input- or OutputArguments.

Table 43 - LogoutMachineUser Method AddressSpace Definiton
Attribute Value
BrowseNameLogoutMachineUser
References Node Class BrowseName DataType TypeDefinition ModellingRule