CommerceContext.ProfileSystem Property (BCL)

The ProfileSystem property is the read/write ProfileContext object used on the site.

Definition

[Visual Basic .NET]

Public Property ProfileSystem As ProfileContext

[C#]

public ProfileContext ProfileSystem{get; set;} 

Property Value

The ProfileContext object used on the site.

Remarks

A default ProfileContext object is available only if the CommerceProfileModule class is configured in the web.config file. Always check this property for a non-null value before referencing it.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Code to Build a Login Page

Code to Create and Set Profile Properties

Code to Retrieve and Display Profile Properties

Code to use the SiteTerm class

Code to display targeted advertisements on an ASP.NET Web form

Copyright © 2005 Microsoft Corporation.
All rights reserved.