Click or drag to resize

CredentialAuthenticationSession Class

A AuthenticationSession that temporarily impersonates another ActiveDirectory user.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.WebControls.Capture.AuthenticationAuthenticationSession
    Atalasoft.Imaging.WebControls.Capture.AuthenticationCredentialAuthenticationSession

Namespace:  Atalasoft.Imaging.WebControls.Capture.Authentication
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class CredentialAuthenticationSession : AuthenticationSession

The CredentialAuthenticationSession type exposes the following members.

Constructors
  NameDescription
Public methodCredentialAuthenticationSession
Creates a new AuthenticationSession to impersonate a user with the given domain, username, and password.
Top
Properties
  NameDescription
Protected propertyIsInContext
Indicates whether the impersonated user context is active or not.
Top
Methods
  NameDescription
Public methodEnter
Changes the effective user identity in the current execution context to match the user that was used to construct this AuthenticationSession.
(Overrides AuthenticationSessionEnter.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLeave
Restores the effective user identity to its previous state.
(Overrides AuthenticationSessionLeave.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
User accounts impersonated with this class are considered to be interactive identity tokens. This means the impersonated user can be used to access remote network resources (like a remote Sharepoint server). Standard ASP.NET impersonation, on the other hand, cannot be used to access network resources.
See Also