GetAllProfileDefinitionNames Method

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

Retrieves the names of all 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 GetAllProfileDefinitionNames As String()
'Usage
Dim instance As ProfileManagementContext
Dim returnValue As String()

returnValue = instance.GetAllProfileDefinitionNames()
public string[] GetAllProfileDefinitionNames()
public:
array<String^>^ GetAllProfileDefinitionNames()
public function GetAllProfileDefinitionNames() : String[]

Return Value

Type: array<System..::.String>[]()[]
An array of profile definition names.

Exceptions

Exception Condition
AuthenticationException

User has not been authenticated.

Remarks

This method will only return the names of the profile definitions the user is authorized to view.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

Microsoft.CommerceServer.Profiles Namespace