oups... after some research I found it
I'm using a custom profile (inherited from profilebase) which don't give me
access to the profile.
but the solution appear to be simple:
I have to create a profile object with the username
Profile.Create(username)
which is the same code has the getprofile function automatically generated
in the profilecommon class.
"Jéjé" <willgart_A_@hotmail_A_.com> wrote in message
news:OleBvX%...
> I've no GetProfile function under the Profile namespace.
> I see a GetAllProfiles function but this function don't give me access to
> the ProfileBase class. (or the profilecommon class)
>
>
> "Brock Allen" <> wrote in message
> news: om...
>> ProfileCommon otherProfile = Profile.GetProfile("SomeOtherUserName");
>> otherProfile.Data = newValue;
>> otherProfile.Save();
>>
>> -Brock
>> http://staff.develop.com/ballen
>>
>>
>>> Hi,
>>>
>>> I want to access the profile of a particular user to apply / change
>>> some
>>> parameters.
>>> Like a list of authorized projects. (and other properties)
>>> The administrator will go on a web page, select the user, change the
>>> list of authorized projects, save it.
>>>
>>> how to do this?
>>>
>>> thanks.
>>>
>>> Jerome.
>>>
>>
>>
>
>