| ISessionProviderServiceEstablish Method |
Establishes a session for the specified principal
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax ISession Establish(
IPrincipal principal,
string remoteEp,
bool isOverride,
string purpose,
string[] scope,
string lang
)
Function Establish (
principal As IPrincipal,
remoteEp As String,
isOverride As Boolean,
purpose As String,
scope As String(),
lang As String
) As ISession
ISession^ Establish(
IPrincipal^ principal,
String^ remoteEp,
bool isOverride,
String^ purpose,
array<String^>^ scope,
String^ lang
)
abstract Establish :
principal : IPrincipal *
remoteEp : string *
isOverride : bool *
purpose : string *
scope : string[] *
lang : string -> ISession
Parameters
- principal
- Type: System.Security.PrincipalIPrincipal
The principal for which the session is to be established - remoteEp
- Type: SystemString
The remote endpoint - isOverride
- Type: SystemBoolean
True if the session is an override session - purpose
- Type: SystemString
The purpose of the session - scope
- Type: SystemString
The scope of the session (policies) - lang
- Type: SystemString
The language for the session
Return Value
Type:
ISessionThe session information that was established
See Also