How to create a sign up page on wss 3 ?

Hi,

I would like to let the possiblitie for people to acces to my site.

By first creating an account via a sign up page and then the user have to sign in to finally access to the sharepoint website.

But I have no idea about how to do such thing (what tool i need , infopath, visual studio ... ).

I dont know as well how this system can interact with active directory.

Thanks for your help



Answer this question

How to create a sign up page on wss 3 ?

  • jgd12345

    I think you've just created a custom group in SharePoint called registeredUser What you need to do is add the role registeredUser from aspnetdb to a SharePoint Group. Can you add a single user from aspnetdb to a SharePoint role If so where you type in the username, just enter registeredUser instead.

    If that doesn't make sense let me know and I'll try post a screen shot

    Nick



  • Bryan Stone

    Hi Nick,

    thanks a lot again for your help.

    first. i did exactely how it was described in the Ted Pattisons video tutorial and then i imported your webpart.

    Below is the web.config i used for asp.net web site administration tool

    < xml version="1.0" >

    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

    <appSettings/>

    <connectionStrings>

    <clear/>

    <add name="LocalSqlServer"

    connectionString="Server=IBBSVR07T\OFFICESERVERS;Database=aspnetdb;Integrated Security=SSPI;"

    providerName="System.Data.SqlClient" />

    </connectionStrings>

    <system.web>

    <authorization>

    <allow roles="registeredUser" />

    <allow users=" " />

    </authorization>

    <authentication mode="Forms" />

    <roleManager enabled="true" />

    <compilation debug="false"/>

    </system.web>

    </configuration>

    I create via the asp.net as you said to me the registeredUser role, whenever i create a new user with your webpart, that user automaticly belongs to the registeredUser ( I can check that from the database) . However, this role is not recognized as a Group in sharepoint, so whenever i type registeredUser as a username for a search, it is not found

    Maybe my web.config is not complete, in the other tutorial i saw, they precise the membership provider and the role provider. maybe that is why it doesnt work.

    Have good day and sorry for disturbing you again with that.

    SharePoint Custom Forms Authentication Feature seems to be really handy, i will try that once i manage to make your webpart work properly.


  • Danny Ravid

    Hey,

    just found a much nicer implementation of a registration web part, mine was done quite a while ago after all! :-)

    http://www.sharepointblogs.com/chandimak/archive/2007/02/02/18868.aspx

    I'd suggest you try and make use of this one as it will definitely be more supported as it's hosted on CodePlex

    Hope that helps

    Nick



  • Pieneer

    Hi Nick,

    I tried your webpart to add user. I managed to import that without problem. But I have a problem whenever i want to use it, I created with asp net website administration tool a new role called "registeredUser" then i went to sharepoint site and create a new group called the same "registeredUser" as a SharepointGroup with full contrul right.

    But Whenever i want to create a new user, it works with the right role (I can check that with asp net web site adminstration tool). but the Sharepoint site doesnt allow the news users to access because Sharepoint doesnt recognize my news users belong to registeredUser Group.

    Thanks for your help.


  • dtrocchio

    Hi arioule,

    first of all is it necessary for you to use active directory for you to store your use profiles How about switching to Forms Authentication You can easily do this, here are a couple of guides:

    http://www.andrewconnell.com/blog/articles/HowToConfigPublishingSiteWithDualAuthProvidersAndAnonAccess.aspx

    http://weblog.vb-tech.com/nick/archive/2006/06/14/1617.aspx

    Then you could make use of the web part I made for users to self register :-)

    http://weblog.vb-tech.com/nick/archive/2006/09/27/1800.aspx

    Hope that helps

    Nick



  • How to create a sign up page on wss 3 ?