Table of Contents

Class ImpersonationCredentials

Namespace
Dynamicweb.Security
Assembly
Dynamicweb.Security.dll
Represents impersonation credentials.
public class ImpersonationCredentials
Inheritance
ImpersonationCredentials
Inherited Members

Constructors

ImpersonationCredentials(ImpersonationType)

Creates new instance of a class.
public ImpersonationCredentials(ImpersonationType type)

Parameters

type ImpersonationType
Impersonation type.

Properties

Domain

Gets or sets domain name.
public string Domain { get; set; }

Property Value

string

ImpersonationType

Gets or sets impersonation type.
public ImpersonationType ImpersonationType { get; set; }

Property Value

ImpersonationType

Password

Gets or sets password.
public string Password { get; set; }

Property Value

string

Type

Gets or sets impersonation type.
[Obsolete("Use ImpersonationType instead")]
public ImpersonationType Type { get; set; }

Property Value

ImpersonationType

UserName

Gets or sets user name.
public string UserName { get; set; }

Property Value

string

UserNameWithoutDomain

Gets the user-name without a domain suffix.
public string UserNameWithoutDomain { get; }

Property Value

string

Methods

ApplyBackendCredentials()

Applies backend user credentials to the current instance.
public void ApplyBackendCredentials()

GetCredentialsByFormRequest()

Retrieves impersonation credentials from the current form request.
public static ImpersonationCredentials GetCredentialsByFormRequest()

Returns

ImpersonationCredentials
To top