Share via


GetAllProfileDefinitions Method

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

Retrieves all of the profile definitions on the server.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetAllProfileDefinitions As XmlElement
'Usage
Dim instance As ProfileManagementContext
Dim returnValue As XmlElement

returnValue = instance.GetAllProfileDefinitions()
public XmlElement GetAllProfileDefinitions()
public:
XmlElement^ GetAllProfileDefinitions()
public function GetAllProfileDefinitions() : XmlElement

Return Value

Type: System.Xml..::.XmlElement
An XML element representing all profile definitions in the system.

Exceptions

Exception Condition
AuthenticationException

User has not been authenticated.

Remarks

This method will only return the profile definitions the user is authorized to view. This XML contains the same detailed information as the XML returned by GetProfileDefinition.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

Microsoft.CommerceServer.Profiles Namespace