EMA C++ RDM Usage Guide : 3 Login Domain : 3.2 Usage : 3.2.7 Login Status Message
 
3.2.7 Login Status Message
Open Message Model provider and non-interactive provider applications use the Login status message to convey state information associated with the login stream. Such state information can indicate that a login stream cannot be established or to inform a consumer of a state change associated with an open login stream.
The Login status message can also be used to reject a login request or close an existing login stream. When a login stream is closed via a status, any other open streams associated with the user are also closed as a result.
 
Table 9: Login Status Message Member Use  
COMPONENT
DESCRIPTION / VALUE
DomainType
Required. MMT_LOGIN = 1
State
Optional.
For Status, when rejecting Login:
StreamState = OmmState.Closed
DataState = OmmState.Ok
StatusCode = OmmState.NotAuthorized
For Status, when a user needs to retry a login, for example when the Data Access Control System is not yet connected to an LSEG Real-Time Advanced Distribution Server:
StreamState = OmmState.ClosedRecover
DataState = OmmState.Suspect
StatusCode = OmmState.NotAuthorized
SeqNum
Optional.
ItemGroup
Not used.
PermissionData
Not used.
extendedHeader
Not used.
ServiceId
Not used.
NameType
Optional. Possible values:
USER_NAME
USER_EMAIL_ADDRESS
USER_TOKEN
USER_COOKIE
If present, NameType should match the type specified in the Login request. If NameType is unspecified, it is assumed to be a NameType of USER_NAME.
Name
Optional. Name should match the one used in the Login request and should contain appropriate content corresponding to the specification.
Filter
Not used.
Identifier
Not used.
Attrib
Optional.
Typically an ElementList. For the contents of ElementList, refer to Section 3.2.5.
Payload
Not used.