ImpersonationIsImpersonated Property
Gets whether the impersonation mode is on and the current thread is being impersonating another user.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public bool IsImpersonated { get; }

Property Value

Type: Boolean
true if LogonAs(String, String, String) method has already been called on the current thread; otherwise, false.
See Also