3 Replies Latest reply on Apr 23, 2007 10:56 PM by Scott Stark

    getting the ActiveProfile name/key

    Mark Spritzler Apprentice

      So right now the ProfileService method getActiveProfile returns the active Profile object, and you can also get all the ProfileKeys from ProfileService.

      But you can't getActiveProfileKey, or get the Key String directly from the Profile object.

      So right now we get the active profile, get all the profile keys, loop through the keys, in the loop call getProfile(profilekey) and compare the Profile returned against the active Profile object to see if they are the same to figure if we have the correct profileKey matching the active profile.

      Can we either add a getActiveProfileKey method to the ProfileService, or a getName or getKey in the Profile object.