Retrieving the profile for a particular username?

  • Thread starter Thread starter Jéjé
  • Start date Start date
J

Jéjé

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.
 
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)
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top