 | MemorySessionManagerServiceEstablish Method |
Establishes a session for the specified principal
Namespace: SanteDB.Caching.Memory.SessionAssembly: SanteDB.Caching.Memory (in SanteDB.Caching.Memory.dll) Version: 3.0.2081-alpha+73f4bcede15fc876f30607896483d7d817ecc787
Syntaxpublic ISession Establish(
IPrincipal principal,
string remoteEp,
bool isOverride,
string purpose,
string[] scope,
string lang
)
Public Function Establish (
principal As IPrincipal,
remoteEp As String,
isOverride As Boolean,
purpose As String,
scope As String(),
lang As String
) As ISession
public:
virtual ISession^ Establish(
IPrincipal^ principal,
String^ remoteEp,
bool isOverride,
String^ purpose,
array<String^>^ scope,
String^ lang
) sealed
abstract Establish :
principal : IPrincipal *
remoteEp : string *
isOverride : bool *
purpose : string *
scope : string[] *
lang : string -> ISession
override Establish :
principal : IPrincipal *
remoteEp : string *
isOverride : bool *
purpose : string *
scope : string[] *
lang : string -> ISession Parameters
- principal IPrincipal
- The principal for which the session is to be established
- remoteEp String
- The remote endpoint
- isOverride Boolean
- True if the session is an override session
- purpose String
- The purpose of the session
- scope String
- The scope of the session (policies)
- lang String
- The language for the session
Return Value
ISessionThe session information that was established
Implements
ISessionProviderServiceEstablish(IPrincipal, String, Boolean, String, String, String)
See Also