Microsoft.CommerceServer.Profiles Namespace

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Profiles in Commerce Server represent business objects. When you create a new profile definition, you specify profile properties that instances of the profile will have.

When you create an instance of a profile, you provide values for the properties. Users, credit cards, and purchase orders are all examples of business objects that are represented by using profiles. The user profile, for example, includes a property for the logon ID, in addition to other properties. A specific instance of a user might have the logon ID "MyLogonID".

You define and manage site terms by using the Profiles System. A site term is a set of valid values for information that the user provides. For example, if you added a custom property named "Gender" to the definition of the profile named "User," you could define a site term to represent the values "male" and "female," which would provide the valid values for the "Gender" property.

Classes

  Class Description
ms965167.pubclass(en-US,CS.70).gif DefinitionDoesNotExistException The exception thrown when an attempt is made to access a profile definition that does not exist in the profile system.
ms965167.pubclass(en-US,CS.70).gif DuplicateKeyValueException The exception thrown when an attempt is made to create or update a profile with a key value that already exists.
ms965167.pubclass(en-US,CS.70).gif DuplicateSiteTermNameException Exception thrown when an attempt is made to create or update a site term with a name or display name that already exists.
ms965167.pubclass(en-US,CS.70).gif DuplicateSiteTermValueException The exception thrown when an attempt is made to create or update a site term that conflicts with the value of an existing site term in the profile system.
ms965167.pubclass(en-US,CS.70).gif EncryptionKeysNotConfiguredException The exception thrown when an attempt is made to create or update a profile that contains encrypted values when encryption has not been configured on the web service.
ms965167.pubclass(en-US,CS.70).gif ProfileDoesNotExistException The exception thrown when an attempt is made to access a profile instance that does not exist in the profile system.
ms965167.pubclass(en-US,CS.70).gif ProfileManagementContext This class is used to talk to the UPM Web Service.
ms965167.pubclass(en-US,CS.70).gif ProfileOperationResponse Describes a profile instance that was modified by a profile system operation.
ms965167.pubclass(en-US,CS.70).gif ProfileSearchClauseFactory Provides functionality to create and combine SearchClause objects that target entities in the profile system.
ms965167.pubclass(en-US,CS.70).gif ProfilesServiceAgent A ServiceAgent object used to run against the Profiles Web Service.
ms965167.pubclass(en-US,CS.70).gif ProfileXsdSchemaExport Manages the exporting of profile definitions to XSD.
ms965167.pubclass(en-US,CS.70).gif PropertyDoesNotExistException The exception thrown when an attempt is made to access a property that does not exist in the profile system.
ms965167.pubclass(en-US,CS.70).gif PropertyTypeValidationException The exception thrown when an attempt is made to create or update a profile instance with invalid data in a property.
ms965167.pubclass(en-US,CS.70).gif SiteTermDoesNotExistException The exception thrown when an attempt is made to access a site term that does not exist in the profile system.
ms965167.pubclass(en-US,CS.70).gif SiteTermInUseException The exception thrown when an attempt is made to delete a site term that is being referenced by a profile definition.

Enumerations

  Enumeration Description
ms965167.pubenumeration(en-US,CS.70).gif ProfilePermissions The enumeration that specifies the permissions to the Profile system. This constitutes the flags that are available for the profile permissions.
ms965167.pubenumeration(en-US,CS.70).gif ProfilePropertyType Specifies the types available to a profile property.