Gets or sets whether the membership user can be authenticated.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
C# |
---|
public bool IsApproved { get; set; } |
Visual Basic |
---|
Public Property IsApproved As Boolean Get Set |
Property Value
Type: Booleantrue if the user can be authenticated; otherwise, false.
Remarks
if the user is not approved, the authentication process will always return failed even if the supplied user name and password are correct.
Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | the user is not a Visual Guard user and cannot be modified. |