none
Migration of user permission from FBA SharePoint 2007 to Claims Provider

    Question

  • Folks,

    I have a migration schenerio in which FBA users permissions in SharePoint 2007 needs to migrated to a claims provider based model in 2010. 

    I executed the SPWebApplication.MigrateUsers(true) and the permissions are now migrated.

    But when viewed at the migrated permissions they are written based on the claim

    ClaimType 	= "http://schemas.microsoft.com/sharepoint/2009/08/claims/userlogonname"
    OriginalIssuer 	= "Forms:membershipprovidername"
    Value 		= "username"
    ValueType 	= "http://www.w3.org/2001/XMLSchema#string"
    

    But I don't have any issuer for forms instead i have a trusted provider which has identifying claim on http://schemas.xmlsoap.org/claims/emailaddress

    Is there any direct support for migrating the permissions to identifying claim to which the web application has configured.

    ~Regards, bekz


    http://code.grep.in
    • Moved by Mike Walsh FIN Tuesday, January 11, 2011 3:13 PM (8th off-topic post today) SP 2010 questions go only to SP 2010 forums (From:SharePoint - General Question and Answers and Discussion (pre-SharePoint 2010))
    Tuesday, January 11, 2011 2:34 PM

Answers

  • I think i will have provide a tool which implements the interface

    public interface IMigrateUserCallback
    {
      string ConvertFromOldUser(
    	string oldUser, 
    	SPWebApplication.AuthenticationMethod authType, 
    	bool isGroup);
    }
    

    And invoking 

    public void SPWebApplication.MigrateUsers(IMigrateUserCallback callback)
    



    http://code.grep.in
    • Marked as answer by bekz Friday, January 14, 2011 9:37 AM
    Tuesday, January 11, 2011 3:08 PM

All replies

  • I think i will have provide a tool which implements the interface

    public interface IMigrateUserCallback
    {
      string ConvertFromOldUser(
    	string oldUser, 
    	SPWebApplication.AuthenticationMethod authType, 
    	bool isGroup);
    }
    

    And invoking 

    public void SPWebApplication.MigrateUsers(IMigrateUserCallback callback)
    



    http://code.grep.in
    • Marked as answer by bekz Friday, January 14, 2011 9:37 AM
    Tuesday, January 11, 2011 3:08 PM
  • > needs to migrated to a claims provider based model in 2010. 

    Any question on upgrading or migrating to 2010 does NOT go to a pre-2010 forum.

    Moving this to the 2010 Admin forum

    (Moderator pre-2010 forums)


    SP 2010 "FAQ" (mainly useful links): http://wssv4faq.mindsharp.com/default.aspx
    WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
    Both also have links to extensive book lists and to (free) on-line chapters
    Tuesday, January 11, 2011 3:12 PM