LastActivityDate Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the date and time when the membership user was last authenticated or accessed the application.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overrides Property LastActivityDate As DateTime
'Usage
Dim instance As UpmMembershipUser
Dim value As DateTime
value = instance.LastActivityDate
instance.LastActivityDate = value
public override DateTime LastActivityDate { get; set; }
public:
virtual property DateTime LastActivityDate {
DateTime get () override;
void set (DateTime value) override;
}
public override function get LastActivityDate () : DateTime
public override function set LastActivityDate (value : DateTime)
Property Value
Type: System..::.DateTime
The date and time when the membership user was last authenticated or accessed the application.
Remarks
Stores the date and time when the membership user was last authenticated or accessed the application.
Requires EnableLastActivityDate to be set to true.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.