Interface IUserConnectionProvider
Provides methods for obtaining user connection.
Namespace: Terrasoft.ServiceBus
Assembly: Terrasoft.ServiceBus.dll
Syntax
public interface IUserConnectionProvider
Methods
GetUserConnection(IUserContextContainer)
Returns user connection.
Declaration
UserConnection GetUserConnection(IUserContextContainer userContextContainer)
Parameters
Type | Name | Description |
---|---|---|
IUserContextContainer | userContextContainer | Container of the user context. |
Returns
Type | Description |
---|---|
UserConnection | Instance of the UserConnection type. |
GetUserConnection(IUserContextContainer, Boolean, Boolean)
Returns user connection.
Declaration
UserConnection GetUserConnection(IUserContextContainer userContextContainer, bool isSystemUser, bool useContextUserInfo)
Parameters
Type | Name | Description |
---|---|---|
IUserContextContainer | userContextContainer | Container of the user context. |
System.Boolean | isSystemUser | Sign of system user. |
System.Boolean | useContextUserInfo | Sign of using user info from context. |
Returns
Type | Description |
---|---|
UserConnection | Instance of the UserConnection type. |
GetUserConnection(UserContext)
Returns user connection.
Declaration
UserConnection GetUserConnection(UserContext userContext)
Parameters
Type | Name | Description |
---|---|---|
UserContext | userContext |
Returns
Type | Description |
---|---|
UserConnection | Instance of the UserConnection type. |