Re: How to add user to group programmatically with Forms Based Authentication



You can directly associate FBA users to SharePoint groups.

Login into extended FBA site using FBA sharepoint admin account and you
should be to associate FBA users to SharePoint groups.

If the users are not getting resolved, try giving full FBA name such as
<name of provider>:<user name> (fbamembers:sharepoint_admin).

Please look into the following document steps:

http://blogs.msdn.com/sharepoint/archive/2006/08/16/configuring-multiple-authentication-providers-for-sharepoint-2007.aspx

Note: Alternatively, you can use SQL Server/FBA roles table created by
aspnet_regsql command, but this adds additional maintenance of SQL
server roles and there is an issue that requires sub site owners to
have read access to site collection (to perform edit on pages).

Hth,
RP

.


Loading