|
PLCnext API Documentation
21.9.0.40
|
UserManager Service to retrieve and set session properties like sessionId and extended session informations More...
#include <ISessionService.hpp>

Public Types | |
| using | Ptr = std::shared_ptr< ISessionService > |
Public Types inherited from Arp::System::Rsc::Services::IRscService | |
| typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
| ISessionService (void)=default | |
| Constructs an ISessionService instance. More... | |
| virtual boolean | GetSessionId (SecurityToken securityToken, RscString< 128 > &sessionId)=0 |
| Gets a sessionId (strong security Token) for a Um session. More... | |
| virtual boolean | GetSecurityTokenFromSessionId (const RscString< 128 > &sessionId, SecurityToken &securityToken)=0 |
| Searchs for a Um Session identified by a StrongSecurityToken. If a valid session was found the Um securityToken is returned in parameter securityToken More... | |
| virtual boolean | GetSessionProperty (SecurityToken securityToken, const RscString< 128 > &key, RscString< 128 > &value)=0 |
| Read a named property from a Um session. A property is extended information bound to a um session identified by a key. Example the user which opened the session. More... | |
| virtual boolean | SetSessionProperty (SecurityToken securityToken, const RscString< 128 > &key, const RscString< 128 > &value)=0 |
| Sets a named property for a Um session. A property is extended information bound to a um session identified by a key. Example the user which opened the session. More... | |
| virtual boolean | DeleteSessionProperty (SecurityToken securityToken, const RscString< 128 > &key)=0 |
| Deletes a named property for a Um session. More... | |
| virtual boolean | IsSessionActive (SecurityToken securityToken)=0 |
| Check if the um session is active or not. More... | |
Public Member Functions inherited from Arp::System::Rsc::Services::IRscService | |
| IRscService (void)=default | |
| Constructs an IRscService instance. More... | |
| virtual | ~IRscService (void)=default |
| Destructs this instance and frees all resouces. More... | |
Static Public Member Functions | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) |
Static Public Member Functions inherited from Arp::System::Rsc::Services::IRscService | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of the service More... | |
UserManager Service to retrieve and set session properties like sessionId and extended session informations
This service is only usable from the SDK for other processes running on the PLC; it is not intended for public use over RSC.
|
default |
Constructs an ISessionService instance.
|
pure virtual |
Deletes a named property for a Um session.
| securityToken | the um securityToken identifying the session |
| key | key identifying the extended info which should be deleted |
|
pure virtual |
Searchs for a Um Session identified by a StrongSecurityToken. If a valid session was found the Um securityToken is returned in parameter securityToken
| sessionId | The strong sessionId to search for |
| securityToken | returns the securityToken for the Um session |
|
pure virtual |
Gets a sessionId (strong security Token) for a Um session.
| securityToken | Um Security token identifying the session |
| sessionId | returns the strongToken, only valid, if true is returned, Should be ignored otherwise |
|
pure virtual |
Read a named property from a Um session. A property is extended information bound to a um session identified by a key. Example the user which opened the session.
| securityToken | the um securityToken identifying the session |
| key | key identifying the extended info |
| value | value of the session information identifying by key |
|
pure virtual |
Check if the um session is active or not.
| securityToken | Security token of the session to be checked |
|
pure virtual |
Sets a named property for a Um session. A property is extended information bound to a um session identified by a key. Example the user which opened the session.
| securityToken | the um securityToken identifying the session |
| key | key identifying the extended info |
| value | value to set as extended info for the um session |
1.8.13