VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / GetUser Method / GetUser(String,Boolean) Method
The name of the user to get information for.
true to update the last-activity date/time stamp for the user; false to return user information without updating the last-activity date/time stamp for the user.


In This Topic
    GetUser(String,Boolean) Method
    In This Topic
    Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides NotOverridable Function GetUser( _
       ByVal username As System.String, _
       ByVal userIsOnline As System.Boolean _
    ) As System.Web.Security.MembershipUser
    'Usage
     
    
    Dim instance As VistaDBMembershipProvider
    Dim username As System.String
    Dim userIsOnline As System.Boolean
    Dim value As System.Web.Security.MembershipUser
     
    value = instance.GetUser(username, userIsOnline)
    public override System.Web.Security.MembershipUser GetUser( 
       System.string username,
       System.bool userIsOnline
    )

    Parameters

    username
    The name of the user to get information for.
    userIsOnline
    true to update the last-activity date/time stamp for the user; false to return user information without updating the last-activity date/time stamp for the user.

    Return Value

    A System.Web.Security.MembershipUser object populated with the specified user's information from the data source.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also