SharePoint user/group role concept issue
I am programming with SharePoint Service 3.0/SharePo开发者_Python百科int Server 2007. SharePoint has some built-in roles like contributor, visitor, designer, administrator.
I am wondering if I use Forms Authentication, how to define roles in Forms Authentication Roles in order to map the Forms Authentication roles to SharePoint built-in roles?
thanks in advance, George
There is no automatic mapping from FBA roles to SharePoint groups (just like there is no automatic mapping from AD groups)
So you're free to call your FBA roles anything you want. You'll then usally assign some FBA user Full Control using Central Admin (You need to add the FBA <membership><provider> entry to CAs web.config). And use this account to sign into the FBA site and add the roles to the SharePoint groups.
The roles you define in Forms Authentication are comparable to Acitive Directory Security Groups, these can then in turn be made a member of sharepoint groups, just like with Active Directory groups.
精彩评论