VistaDB 6
VistaDB.Web Namespace / VistaDBMembershipProvider Class / GetUser Method / GetUser(Object,Boolean) Method
The unique identifier for the membership 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(Object,Boolean) Method
    In This Topic
    Gets user information from the data source based on the unique identifier for the membership user. Provides an option to update the last-activity date/time stamp for the user.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides NotOverridable Function GetUser( _
       ByVal providerUserKey As System.Object, _
       ByVal userIsOnline As System.Boolean _
    ) As System.Web.Security.MembershipUser
    'Usage
     
    
    Dim instance As VistaDBMembershipProvider
    Dim providerUserKey As System.Object
    Dim userIsOnline As System.Boolean
    Dim value As System.Web.Security.MembershipUser
     
    value = instance.GetUser(providerUserKey, userIsOnline)
    public override System.Web.Security.MembershipUser GetUser( 
       System.object providerUserKey,
       System.bool userIsOnline
    )

    Parameters

    providerUserKey
    The unique identifier for the membership 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