Gets the information about the specified user.
Namespace: Novalys.VisualGuard.Security.WebFormAssembly: Novalys.VisualGuard.Security.WebForm (in Novalys.VisualGuard.Security.WebForm.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public override MembershipUser GetUser( string username, bool userIsOnline ) |
Visual Basic |
---|
Public Overrides Function GetUser ( username As String, userIsOnline As Boolean ) As MembershipUser |
Parameters
- username
- Type: System..::..String
The name of the user to get information for.
- userIsOnline
- Type: System..::..Boolean
The GetUser(String, Boolean) method ignores this parameter.
Return Value
Type: MembershipUsera MembershipUser object.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | username is null. |
System..::..ArgumentException | username is empty, or exceeds the maximum length for the user name (usually 64 characters). |