Click or drag to resize

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
)

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: ISession
The session information that was established
See Also