0

im using sharepoint 2010 with claimsAuthentification (SQLMembership Provider)

when user is authentified the first time, sharepoint create automatically a profile for this

user, please how can i avoid this.

thx

1 Answer 1

0

You can't with the out of the box SqlMembershipProvider, SharePoint needs to store user data somewhere, it just just hooks into the provider. You would need to write your own MembershipProvider to accomplish this.

4
  • thx, the problem is that i have to create profiles programatically and set some propreties but with this behivor i have now duplicate profile 1 created using object model and the second created by sharepoint, for the same persone like :​i:0#.f|sqlmembershipprovider|anna.maria i:0#.f|sqlmembershipprovider|anna.maria
    – markov00
    Commented Jan 13, 2011 at 18:59
  • I'm not sure, but I think you could configure a second profile provider with a different application name within the same web.config and use that one for the programmatic access.
    – Greg
    Commented Jan 13, 2011 at 19:52
  • @greg thx, i will use the default profile created by sharepoint and trying to update it
    – markov00
    Commented Jan 14, 2011 at 12:22
  • That is the way to go, and just use the sharepoint object model to create profiles!
    – Colin
    Commented Jan 14, 2011 at 17:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.