Click or drag to resize
UserContext Class
Information about a user who is actively using the data store.
Inheritance Hierarchy
SystemObject
  ArtDatabanken.DataUserContext

Namespace: ArtDatabanken.Data
Assembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
[SerializableAttribute]
public class UserContext : IUserContext

The UserContext type exposes the following members.

Constructors
  NameDescription
Public methodUserContext
Create a UserContext instance.
Top
Properties
  NameDescription
Public propertyCurrentRole
Selected role for current active user
Public propertyCurrentRoles
Roles and Authorities for current active user and specified application in login.
Public propertyLocale
Currently used locale when this user accesses data.
Public propertyProperties
Get repository of contextual data.
Public propertyTransaction
Information about the virtual transaction.
Public propertyTransactions
Information about the real transactions.
Public propertyUser
Currently active user.
Top
Methods
  NameDescription
Public methodClone
Clone this user context.
Public methodIsAgreementAccepted
Check if specified agreement has been accepted by user.
Public methodStartTransaction
Start transaction.
Public methodStartTransaction(Int32)
Start transaction.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckNotNull
Check that an argument is not null.
(Defined by ObjectExtension.)
Public Extension MethodCheckNull
Check that an argument is null.
(Defined by ObjectExtension.)
Public Extension MethodIsNotNull
Test if an object reference is not null.
(Defined by ObjectExtension.)
Public Extension MethodIsNull
Test if an object reference is null.
(Defined by ObjectExtension.)
Top
See Also