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
ImpersonationType
Gets or sets impersonation type.
public ImpersonationType ImpersonationType { get; set; }
Property Value
Password
Gets or sets password.
public string Password { get; set; }
Property Value
Type
Gets or sets impersonation type.
[Obsolete("Use ImpersonationType instead")]
public ImpersonationType Type { get; set; }
Property Value
UserName
Gets or sets user name.
public string UserName { get; set; }
Property Value
UserNameWithoutDomain
Gets the user-name without a domain suffix.
public string UserNameWithoutDomain { get; }
Property Value
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()