SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Lab 15: Create a Membership Database

       Objectives
       After completing this lab, you will be able to:

       ‱            Create and configure as ASP.Net membership and role database

       Prerequisites
       Before working on this lab, you must have:
       ‱            Labs 1 and 2 fully completed

       Scenario
       The Extranet site you will create in the next lab will be using Forms Authentication with SQL2005
       database as the membership store. In this lab you will create the membership store.



       Estimated time to complete this lab: 30 minutes



Exercise 1
    Create a SQL 2005 Membership Database
           You will create a brand new database in SQL called “aspnetdb” which contains Membership,
           Profile, a Role Manager, Personalization and the SQLWebEventProvider. The aspnetdb database
           will become our source for Authentication and Personalization for the Extranet site you will create
           in the next Lab.


           ∑        Create a SQL Membership database

           Launch a Visual Studio Command Prompt window with the following steps:

           1.       Login as Administrator and click Start on you Desktop

           2.       Select All Programs

           3.       Select Microsoft Visual Studio 2005

           4.       Select Visual Studio Tools

           5.       Select “Visual Studio 2005 Command Prompt” shortcut
Lab 15: Create a Membership Database


              A new Command prompt window appears.

              6.       Type in the following command: aspnet_regsql.exe –A all –E

              Note: If you received an error, use the SQL wizard to create the database – Launch the same
              command without the switches (meaning no –A all –E).

              7.       Close the Command prompt window


Exercise 2
    Apply the appropriate rights to the Membership
    Database
               In this exercise you will apply the appropriate rights, based on the current environment, onto the
               membership database.

               ∑      Apply rights to the Membership database
               1. Launch The SQL Management Studio from the start menu, login using the defaults, and select
                  the “aspnetdb” database. Click “connect” to login.

               Perform the following steps to grant login access to the Network Services id to the aspnetdb
               database.

               2. Click “New Query” on the tool bar

               3. Execute the following commands: sp_grantlogin 'NT AUTHORITYNetwork Service' by
                  clicking the “Execute” button on the toolbar.

               Perform the following step to grant the Network Service id access to the aspnetdb database

               4. Execute the following command: (highlight the previous command and replace it with the
                  following) sp_grantdbaccess 'NT AUTHORITYNetwork Service', 'Network Service'

               Perform the following steps to apply the appropriate access rights for the Network Service user.

               5. To apply the appropriate access to the aspnetdb database for the Network Service id execute the
                  following commands individually - one at a time:

               sp_addrolemember 'aspnet_Membership_FullAccess', 'Network Service'
               sp_addrolemember 'aspnet_Roles_FullAccess', 'Network Service'


Exercise 3
    Create users in the Membership Database
               In this exercise you will create nine different users and apply the appropriate membership to them
               i.e. Extranet.

               ∑     Create new users within the aspnetdb database. In this exercise you will
               create 9 different users which will then be associated with different groups.
Lab 15: Create a Membership Database                  3


6. Execute the following commands: (They all can be executed at once!)

     EXEC aspnet_Membership_CreateUser 'Extranet', 'musera', 'pass@word1', 'PortalSolution',
     'musera@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null

     EXEC aspnet_Membership_CreateUser 'Extranet', 'muserb', 'pass@word1', 'PortalSolution',
     'muserb@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null

     EXEC aspnet_Membership_CreateUser 'Extranet', 'muserc', 'pass@word1', 'PortalSolution',
     'muserc@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null

     EXEC aspnet_Membership_CreateUser 'Extranet', 'muserd', 'pass@word1', 'PortalSolution',
     'muserd@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null

     EXEC aspnet_Membership_CreateUser 'Extranet', 'musere', 'pass@word1', 'PortalSolution',
     'musere@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null

     EXEC aspnet_Membership_CreateUser 'Extranet', 'muserf', 'pass@word1', 'PortalSolution',
     'muserf@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null

     EXEC aspnet_Membership_CreateUser 'Extranet', 'muserg', 'pass@word1', 'PortalSolution',
     'muserg@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null

     EXEC aspnet_Membership_CreateUser 'Extranet', 'muserh', 'pass@word1', 'PortalSolution',
     'muserh@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null

     EXEC aspnet_Membership_CreateUser 'Extranet', 'museri', 'pass@word1', 'PortalSolution',
     'museri@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null


7.        To create new Members and Roles and associate users to them in the aspnetdb, execute
     the following commands: (They all can be executed at once!)

Note: The word “Extranet” in the following commands represents the aspnetdb membership
“Application” name within. Extranet just happened to be in this exercise the same name as the IIS
Virtual Server name that is associated with the new SharePoint Site Collection.
     EXEC aspnet_Roles_CreateRole 'Internet', 'MRoleA'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musera', 'MRoleA', '10/06/2006'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserb', 'MRoleA', '10/06/2006'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserc', 'MRoleA', '10/06/2006'



     EXEC aspnet_Roles_CreateRole ' Internet', 'MRoleB'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musera', 'MRoleB', '10/06/2006'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserb', 'MRoleB', '10/06/2006'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserc', 'MRoleB', '10/06/2006'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserd', 'MRoleB', '10/06/2006'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musere', 'MRoleB', '10/06/2006'

     EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserf', 'MRoleB', '10/06/2006'
Lab 15: Create a Membership Database


                EXEC aspnet_Roles_CreateRole 'SharePoint', 'MRoleC'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musera', 'MRoleC', '10/06/2006'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserb', 'MRoleC', '10/06/2006'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserc', 'MRoleC', '10/06/2006'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserd', 'MRoleC', '10/06/2006'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musere', 'MRoleC', '10/06/2006'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserf', 'MRoleC', '10/06/2006'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserg', 'MRoleC', '10/06/2006'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserh', 'MRoleC', '10/06/2006'

                EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'museri', 'MRoleC', '10/06/2006'

                    Close The SQL Server Management Tool and say No to save
           8.
           You have created a new database (aspnetdb) with that contains membership, roles, and users.


           Lab completed!

Weitere Àhnliche Inhalte

Was ist angesagt?

Struts database access
Struts database accessStruts database access
Struts database accessAbass Ndiaye
 
Oracle 12cR2 Installation On Oracle Linux 7
Oracle 12cR2 Installation On Oracle Linux 7Oracle 12cR2 Installation On Oracle Linux 7
Oracle 12cR2 Installation On Oracle Linux 7Arun Sharma
 
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ _ê°•ì‚Źì€€ëč„ ìŠ€í„°ë”” ëČ„ì „
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ _ê°•ì‚Źì€€ëč„ ìŠ€í„°ë”” ëČ„ì „ìŠ€í”„ë§ ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ _ê°•ì‚Źì€€ëč„ ìŠ€í„°ë”” ëČ„ì „
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ _ê°•ì‚Źì€€ëč„ ìŠ€í„°ë”” ëČ„ì „HyungTae Lim
 
Experienced Selenium Interview questions
Experienced Selenium Interview questionsExperienced Selenium Interview questions
Experienced Selenium Interview questionsarchana singh
 
ember-socket-guru - common api for websockets providers
ember-socket-guru - common api for websockets providersember-socket-guru - common api for websockets providers
ember-socket-guru - common api for websockets providersKuba NiechciaƂ
 
How to use prancer to detect and fix the azure sql resources which uses tls v...
How to use prancer to detect and fix the azure sql resources which uses tls v...How to use prancer to detect and fix the azure sql resources which uses tls v...
How to use prancer to detect and fix the azure sql resources which uses tls v...Prancer Io
 
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆìŠ€í”„ë§ ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆHyungTae Lim
 
Glassfish JEE Server Administration - Clustering
Glassfish JEE Server Administration - ClusteringGlassfish JEE Server Administration - Clustering
Glassfish JEE Server Administration - ClusteringDanairat Thanabodithammachari
 
Multiple instance on windows
Multiple instance on windowsMultiple instance on windows
Multiple instance on windowsVasudeva Rao
 
Codemotion 2013: Feliz 15 aniversario, SQL Injection
Codemotion 2013: Feliz 15 aniversario, SQL InjectionCodemotion 2013: Feliz 15 aniversario, SQL Injection
Codemotion 2013: Feliz 15 aniversario, SQL InjectionChema Alonso
 
Visual regression testing: easier than you think
Visual regression testing: easier than you thinkVisual regression testing: easier than you think
Visual regression testing: easier than you thinkAlexey Shpakov
 
The practice of web application penetration testing
The practice of web application penetration testingThe practice of web application penetration testing
The practice of web application penetration testing_U2_
 
Viktor Tsykunov "Microsoft AI platform for every Developer"
Viktor Tsykunov "Microsoft AI platform for every Developer"Viktor Tsykunov "Microsoft AI platform for every Developer"
Viktor Tsykunov "Microsoft AI platform for every Developer"Lviv Startup Club
 
Keyword driven testing in qtp
Keyword driven testing in qtpKeyword driven testing in qtp
Keyword driven testing in qtpTrainigHubin India
 
Why Task Queues - ComoRichWeb
Why Task Queues - ComoRichWebWhy Task Queues - ComoRichWeb
Why Task Queues - ComoRichWebBryan Helmig
 
Using Groovy with Jenkins
Using Groovy with JenkinsUsing Groovy with Jenkins
Using Groovy with Jenkinssascha_klein
 
JRuby最新äș‹æƒ…札ćčŒ
JRuby最新äș‹æƒ…札ćčŒJRuby最新äș‹æƒ…札ćčŒ
JRuby最新äș‹æƒ…札ćčŒNaoto Takai
 
SCasia 2018 MSFT hands on session for Azure Batch AI
SCasia 2018 MSFT hands on session for Azure Batch AISCasia 2018 MSFT hands on session for Azure Batch AI
SCasia 2018 MSFT hands on session for Azure Batch AIHiroshi Tanaka
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityIdan Tohami
 

Was ist angesagt? (19)

Struts database access
Struts database accessStruts database access
Struts database access
 
Oracle 12cR2 Installation On Oracle Linux 7
Oracle 12cR2 Installation On Oracle Linux 7Oracle 12cR2 Installation On Oracle Linux 7
Oracle 12cR2 Installation On Oracle Linux 7
 
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ _ê°•ì‚Źì€€ëč„ ìŠ€í„°ë”” ëČ„ì „
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ _ê°•ì‚Źì€€ëč„ ìŠ€í„°ë”” ëČ„ì „ìŠ€í”„ë§ ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ _ê°•ì‚Źì€€ëč„ ìŠ€í„°ë”” ëČ„ì „
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ _ê°•ì‚Źì€€ëč„ ìŠ€í„°ë”” ëČ„ì „
 
Experienced Selenium Interview questions
Experienced Selenium Interview questionsExperienced Selenium Interview questions
Experienced Selenium Interview questions
 
ember-socket-guru - common api for websockets providers
ember-socket-guru - common api for websockets providersember-socket-guru - common api for websockets providers
ember-socket-guru - common api for websockets providers
 
How to use prancer to detect and fix the azure sql resources which uses tls v...
How to use prancer to detect and fix the azure sql resources which uses tls v...How to use prancer to detect and fix the azure sql resources which uses tls v...
How to use prancer to detect and fix the azure sql resources which uses tls v...
 
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆìŠ€í”„ë§ ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ
슀프링 ì‹œíëŠŹí‹°ëĄœ 시작하는 ì›č ì–Ží”ŒëŠŹìŒ€ìŽì…˜ ëłŽì•ˆ
 
Glassfish JEE Server Administration - Clustering
Glassfish JEE Server Administration - ClusteringGlassfish JEE Server Administration - Clustering
Glassfish JEE Server Administration - Clustering
 
Multiple instance on windows
Multiple instance on windowsMultiple instance on windows
Multiple instance on windows
 
Codemotion 2013: Feliz 15 aniversario, SQL Injection
Codemotion 2013: Feliz 15 aniversario, SQL InjectionCodemotion 2013: Feliz 15 aniversario, SQL Injection
Codemotion 2013: Feliz 15 aniversario, SQL Injection
 
Visual regression testing: easier than you think
Visual regression testing: easier than you thinkVisual regression testing: easier than you think
Visual regression testing: easier than you think
 
The practice of web application penetration testing
The practice of web application penetration testingThe practice of web application penetration testing
The practice of web application penetration testing
 
Viktor Tsykunov "Microsoft AI platform for every Developer"
Viktor Tsykunov "Microsoft AI platform for every Developer"Viktor Tsykunov "Microsoft AI platform for every Developer"
Viktor Tsykunov "Microsoft AI platform for every Developer"
 
Keyword driven testing in qtp
Keyword driven testing in qtpKeyword driven testing in qtp
Keyword driven testing in qtp
 
Why Task Queues - ComoRichWeb
Why Task Queues - ComoRichWebWhy Task Queues - ComoRichWeb
Why Task Queues - ComoRichWeb
 
Using Groovy with Jenkins
Using Groovy with JenkinsUsing Groovy with Jenkins
Using Groovy with Jenkins
 
JRuby最新äș‹æƒ…札ćčŒ
JRuby最新äș‹æƒ…札ćčŒJRuby最新äș‹æƒ…札ćčŒ
JRuby最新äș‹æƒ…札ćčŒ
 
SCasia 2018 MSFT hands on session for Azure Batch AI
SCasia 2018 MSFT hands on session for Azure Batch AISCasia 2018 MSFT hands on session for Azure Batch AI
SCasia 2018 MSFT hands on session for Azure Batch AI
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite Activity
 

Ähnlich wie ( 15 ) Office 2007 Create A Membership Database

( 15 ) Office 2007 Create A Membership Database
( 15 ) Office 2007   Create A Membership Database( 15 ) Office 2007   Create A Membership Database
( 15 ) Office 2007 Create A Membership DatabaseLiquidHub
 
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
( 16 ) Office 2007   Create An Extranet Site With Forms Authentication( 16 ) Office 2007   Create An Extranet Site With Forms Authentication
( 16 ) Office 2007 Create An Extranet Site With Forms AuthenticationLiquidHub
 
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
( 16 ) Office 2007   Create An Extranet Site With Forms Authentication( 16 ) Office 2007   Create An Extranet Site With Forms Authentication
( 16 ) Office 2007 Create An Extranet Site With Forms AuthenticationLiquidHub
 
RESTful API In Node Js using Express
RESTful API In Node Js using Express RESTful API In Node Js using Express
RESTful API In Node Js using Express Jeetendra singh
 
Node.js with MySQL.pdf
Node.js with MySQL.pdfNode.js with MySQL.pdf
Node.js with MySQL.pdfSudhanshiBakre1
 
StreamSets DataOps Platform Fundamentals.pptx
StreamSets DataOps Platform Fundamentals.pptxStreamSets DataOps Platform Fundamentals.pptx
StreamSets DataOps Platform Fundamentals.pptxssuser4c04eb
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Servicebutest
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Servicebutest
 
Ethical hacking lab series lab 14 understan
 Ethical hacking  lab series  lab 14  understan Ethical hacking  lab series  lab 14  understan
Ethical hacking lab series lab 14 understanjasmin849794
 
AWS essentials EC2
AWS essentials EC2AWS essentials EC2
AWS essentials EC2mustafa sarac
 
Learn you some Ansible for great good!
Learn you some Ansible for great good!Learn you some Ansible for great good!
Learn you some Ansible for great good!David Lapsley
 
Handson1 6 federp
Handson1 6 federpHandson1 6 federp
Handson1 6 federpfederpmatc
 
Flask jwt authentication tutorial
Flask jwt authentication tutorialFlask jwt authentication tutorial
Flask jwt authentication tutorialKaty Slemon
 
Advanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETAdvanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETTony Lisko
 
Sherlock Homepage - A detective story about running large web services - WebN...
Sherlock Homepage - A detective story about running large web services - WebN...Sherlock Homepage - A detective story about running large web services - WebN...
Sherlock Homepage - A detective story about running large web services - WebN...Maarten Balliauw
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica serverketulp
 

Ähnlich wie ( 15 ) Office 2007 Create A Membership Database (20)

( 15 ) Office 2007 Create A Membership Database
( 15 ) Office 2007   Create A Membership Database( 15 ) Office 2007   Create A Membership Database
( 15 ) Office 2007 Create A Membership Database
 
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
( 16 ) Office 2007   Create An Extranet Site With Forms Authentication( 16 ) Office 2007   Create An Extranet Site With Forms Authentication
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
 
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
( 16 ) Office 2007   Create An Extranet Site With Forms Authentication( 16 ) Office 2007   Create An Extranet Site With Forms Authentication
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
 
RESTful API In Node Js using Express
RESTful API In Node Js using Express RESTful API In Node Js using Express
RESTful API In Node Js using Express
 
Node.js with MySQL.pdf
Node.js with MySQL.pdfNode.js with MySQL.pdf
Node.js with MySQL.pdf
 
StreamSets DataOps Platform Fundamentals.pptx
StreamSets DataOps Platform Fundamentals.pptxStreamSets DataOps Platform Fundamentals.pptx
StreamSets DataOps Platform Fundamentals.pptx
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Service
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Service
 
P3.docx
P3.docxP3.docx
P3.docx
 
Ethical hacking lab series lab 14 understan
 Ethical hacking  lab series  lab 14  understan Ethical hacking  lab series  lab 14  understan
Ethical hacking lab series lab 14 understan
 
Dbm 438 week 6 ilab
Dbm 438 week 6 ilabDbm 438 week 6 ilab
Dbm 438 week 6 ilab
 
AWS essentials EC2
AWS essentials EC2AWS essentials EC2
AWS essentials EC2
 
Learn you some Ansible for great good!
Learn you some Ansible for great good!Learn you some Ansible for great good!
Learn you some Ansible for great good!
 
PHP FUNCTIONS
PHP FUNCTIONSPHP FUNCTIONS
PHP FUNCTIONS
 
Handson1 6 federp
Handson1 6 federpHandson1 6 federp
Handson1 6 federp
 
Flask jwt authentication tutorial
Flask jwt authentication tutorialFlask jwt authentication tutorial
Flask jwt authentication tutorial
 
Advanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETAdvanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NET
 
Tomcat + other things
Tomcat + other thingsTomcat + other things
Tomcat + other things
 
Sherlock Homepage - A detective story about running large web services - WebN...
Sherlock Homepage - A detective story about running large web services - WebN...Sherlock Homepage - A detective story about running large web services - WebN...
Sherlock Homepage - A detective story about running large web services - WebN...
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica server
 

Mehr von LiquidHub

Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0LiquidHub
 
Sharepoint 2013 upgrade process
Sharepoint 2013 upgrade processSharepoint 2013 upgrade process
Sharepoint 2013 upgrade processLiquidHub
 
Share point 2013
Share point 2013Share point 2013
Share point 2013LiquidHub
 
Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovementsLiquidHub
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2LiquidHub
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010LiquidHub
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share pointLiquidHub
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server DeploymentLiquidHub
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install DatabasesLiquidHub
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment DetailLiquidHub
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup StrategiesLiquidHub
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003LiquidHub
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc ScreensLiquidHub
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc ScreensLiquidHub
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration StepsLiquidHub
 
5060 A 01
5060 A 015060 A 01
5060 A 01LiquidHub
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007LiquidHub
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughLiquidHub
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshLiquidHub
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshLiquidHub
 

Mehr von LiquidHub (20)

Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0
 
Sharepoint 2013 upgrade process
Sharepoint 2013 upgrade processSharepoint 2013 upgrade process
Sharepoint 2013 upgrade process
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
 
Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovements
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share point
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server Deployment
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment Detail
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup Strategies
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps
 
5060 A 01
5060 A 015060 A 01
5060 A 01
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components Refresh
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
 

KĂŒrzlich hochgeladen

Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Christopher Logan Kennedy
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 

KĂŒrzlich hochgeladen (20)

Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

( 15 ) Office 2007 Create A Membership Database

  • 1. Lab 15: Create a Membership Database Objectives After completing this lab, you will be able to: ‱ Create and configure as ASP.Net membership and role database Prerequisites Before working on this lab, you must have: ‱ Labs 1 and 2 fully completed Scenario The Extranet site you will create in the next lab will be using Forms Authentication with SQL2005 database as the membership store. In this lab you will create the membership store. Estimated time to complete this lab: 30 minutes Exercise 1 Create a SQL 2005 Membership Database You will create a brand new database in SQL called “aspnetdb” which contains Membership, Profile, a Role Manager, Personalization and the SQLWebEventProvider. The aspnetdb database will become our source for Authentication and Personalization for the Extranet site you will create in the next Lab. ∑ Create a SQL Membership database Launch a Visual Studio Command Prompt window with the following steps: 1. Login as Administrator and click Start on you Desktop 2. Select All Programs 3. Select Microsoft Visual Studio 2005 4. Select Visual Studio Tools 5. Select “Visual Studio 2005 Command Prompt” shortcut
  • 2. Lab 15: Create a Membership Database A new Command prompt window appears. 6. Type in the following command: aspnet_regsql.exe –A all –E Note: If you received an error, use the SQL wizard to create the database – Launch the same command without the switches (meaning no –A all –E). 7. Close the Command prompt window Exercise 2 Apply the appropriate rights to the Membership Database In this exercise you will apply the appropriate rights, based on the current environment, onto the membership database. ∑ Apply rights to the Membership database 1. Launch The SQL Management Studio from the start menu, login using the defaults, and select the “aspnetdb” database. Click “connect” to login. Perform the following steps to grant login access to the Network Services id to the aspnetdb database. 2. Click “New Query” on the tool bar 3. Execute the following commands: sp_grantlogin 'NT AUTHORITYNetwork Service' by clicking the “Execute” button on the toolbar. Perform the following step to grant the Network Service id access to the aspnetdb database 4. Execute the following command: (highlight the previous command and replace it with the following) sp_grantdbaccess 'NT AUTHORITYNetwork Service', 'Network Service' Perform the following steps to apply the appropriate access rights for the Network Service user. 5. To apply the appropriate access to the aspnetdb database for the Network Service id execute the following commands individually - one at a time: sp_addrolemember 'aspnet_Membership_FullAccess', 'Network Service' sp_addrolemember 'aspnet_Roles_FullAccess', 'Network Service' Exercise 3 Create users in the Membership Database In this exercise you will create nine different users and apply the appropriate membership to them i.e. Extranet. ∑ Create new users within the aspnetdb database. In this exercise you will create 9 different users which will then be associated with different groups.
  • 3. Lab 15: Create a Membership Database 3 6. Execute the following commands: (They all can be executed at once!) EXEC aspnet_Membership_CreateUser 'Extranet', 'musera', 'pass@word1', 'PortalSolution', 'musera@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null EXEC aspnet_Membership_CreateUser 'Extranet', 'muserb', 'pass@word1', 'PortalSolution', 'muserb@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null EXEC aspnet_Membership_CreateUser 'Extranet', 'muserc', 'pass@word1', 'PortalSolution', 'muserc@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null EXEC aspnet_Membership_CreateUser 'Extranet', 'muserd', 'pass@word1', 'PortalSolution', 'muserd@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null EXEC aspnet_Membership_CreateUser 'Extranet', 'musere', 'pass@word1', 'PortalSolution', 'musere@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null EXEC aspnet_Membership_CreateUser 'Extranet', 'muserf', 'pass@word1', 'PortalSolution', 'muserf@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null EXEC aspnet_Membership_CreateUser 'Extranet', 'muserg', 'pass@word1', 'PortalSolution', 'muserg@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null EXEC aspnet_Membership_CreateUser 'Extranet', 'muserh', 'pass@word1', 'PortalSolution', 'muserh@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null EXEC aspnet_Membership_CreateUser 'Extranet', 'museri', 'pass@word1', 'PortalSolution', 'museri@litwareinc.com', '', '', true, '10/06/2006', '10/06/2006', 0, 0, null 7. To create new Members and Roles and associate users to them in the aspnetdb, execute the following commands: (They all can be executed at once!) Note: The word “Extranet” in the following commands represents the aspnetdb membership “Application” name within. Extranet just happened to be in this exercise the same name as the IIS Virtual Server name that is associated with the new SharePoint Site Collection. EXEC aspnet_Roles_CreateRole 'Internet', 'MRoleA' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musera', 'MRoleA', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserb', 'MRoleA', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserc', 'MRoleA', '10/06/2006' EXEC aspnet_Roles_CreateRole ' Internet', 'MRoleB' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musera', 'MRoleB', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserb', 'MRoleB', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserc', 'MRoleB', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserd', 'MRoleB', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musere', 'MRoleB', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserf', 'MRoleB', '10/06/2006'
  • 4. Lab 15: Create a Membership Database EXEC aspnet_Roles_CreateRole 'SharePoint', 'MRoleC' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musera', 'MRoleC', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserb', 'MRoleC', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserc', 'MRoleC', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserd', 'MRoleC', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'musere', 'MRoleC', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserf', 'MRoleC', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserg', 'MRoleC', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'muserh', 'MRoleC', '10/06/2006' EXEC aspnet_UsersInRoles_AddUsersToRoles 'Extranet', 'museri', 'MRoleC', '10/06/2006' Close The SQL Server Management Tool and say No to save 8. You have created a new database (aspnetdb) with that contains membership, roles, and users. Lab completed!