 | ISessionProviderServiceEstablish Method |
Establishes a session for the specified principal
Namespace: SanteDB.Core.Security.ServicesAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
SyntaxISession 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 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
See Also