Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have an installation of Sharepoint Foundation 2010 configured in Mixed Authentication (Windows + Form Based).

I would like to know how to modify the account of a FBA user like this one

i:0#.f|fbamembershipprovider|name1.surname1

into, for example

i:0#.f|fbamembershipprovider|name2.surname2
share|improve this question

2 Answers 2

If you have SP2010 August CU then you can add custom code into the MigrateUser() command. Read this post by Steve "Claims" Peschka: http://blogs.technet.com/b/speschka/archive/2011/01/27/migrating-user-accounts-from-windows-claims-to-saml-claims.aspx

I have not yet tried it but the sample in the post (with some minor tweaks) could probably be used in your case.

share|improve this answer
up vote 0 down vote accepted

I was able doing this using stsadm:

stsadm -o migrateuser -oldlogin "i:0#.f|fbamembershipprovider|name1.surname1" -newlogin "i:0#.f|fbamembershipprovider|name2.surname2" -ignoresidhistory
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.