Click or drag to resize

ISessionProviderServiceEstablish Method

Establishes a session for the specified principal

Namespace: SanteDB.Core.Security.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
ISession Establish(
	IPrincipal principal,
	string remoteEp,
	bool isOverride,
	string purpose,
	string[] scope,
	string lang
)

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

ISession
The session information that was established
See Also