Gets the information about the specified user.
Namespace:
Novalys.VisualGuard.Security.WebFormAssembly: Novalys.VisualGuard.Security.WebForm (in Novalys.VisualGuard.Security.WebForm.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
C# |
---|
public override MembershipUser GetUser( string username, bool userIsOnline ) |
Visual Basic (Declaration) |
---|
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
a 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). |