Ask a questionAsk a question
 

AnswerForms Based Authentication - Creating Users and Roles confusion

  • Monday, November 02, 2009 6:49 PMDannyH Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm at the point of creating the users and roles but I'm a little confused on what I need to put in the sql script parameters.

    For the Create Role I am using:
    EXECUTE [dbo].[aspnet_Roles_CreateRole] 'SharePoint_Membership', 'Administrators' 
    
    
    The first parameter, "SharePoint_Memberhsip" is that the name of the asp.net membership database or the web application that will be using this?


    For the Create Users script I am using:
    DECLARE <@now datetime SET @now= GETDATE() EXECUTE [dbo].[aspnet_Membership_CreateUser] 'SharePoint_Membership, 'Admin','Pa$$w0rd', '', 'email account', '', '',  1, @now, @now, 0, 0, null 
    
    Again, the first parameter, "SharePoint_Membership", what is that the membership db or the web app name?

Answers

All Replies