SlideShare une entreprise Scribd logo
1  sur  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.
                    6. Execute the following commands: (They all can be executed at once!)
Lab 15: Create a Membership Database      3


    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'



    EXEC aspnet_Roles_CreateRole 'SharePoint', 'MRoleC'
Lab 15: Create a Membership Database


                   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'

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


               Lab completed!

Contenu connexe

Tendances

Hibernate, Spring, Eclipse, HSQL Database & Maven tutorial
Hibernate, Spring, Eclipse, HSQL Database & Maven tutorialHibernate, Spring, Eclipse, HSQL Database & Maven tutorial
Hibernate, Spring, Eclipse, HSQL Database & Maven tutorialRaghavan Mohan
 
스프링 시큐리티로 시작하는 웹 어플리케이션 보안 _강사준비 스터디 버전
스프링 시큐리티로 시작하는 웹 어플리케이션 보안 _강사준비 스터디 버전스프링 시큐리티로 시작하는 웹 어플리케이션 보안 _강사준비 스터디 버전
스프링 시큐리티로 시작하는 웹 어플리케이션 보안 _강사준비 스터디 버전HyungTae Lim
 
Experienced Selenium Interview questions
Experienced Selenium Interview questionsExperienced Selenium Interview questions
Experienced Selenium Interview questionsarchana singh
 
스프링 시큐리티로 시작하는 웹 어플리케이션 보안
스프링 시큐리티로 시작하는 웹 어플리케이션 보안스프링 시큐리티로 시작하는 웹 어플리케이션 보안
스프링 시큐리티로 시작하는 웹 어플리케이션 보안HyungTae Lim
 
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
 
Workshop desarrollo Cassandra con el driver Java
Workshop desarrollo Cassandra con el driver JavaWorkshop desarrollo Cassandra con el driver Java
Workshop desarrollo Cassandra con el driver JavaJose Felix Hernandez Barrio
 
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
 
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
 
Multiple instance on windows
Multiple instance on windowsMultiple instance on windows
Multiple instance on windowsVasudeva Rao
 
Using Groovy with Jenkins
Using Groovy with JenkinsUsing Groovy with Jenkins
Using Groovy with Jenkinssascha_klein
 
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
 
New and improved hacking oracle from web apps sumit sidharth
New and improved hacking oracle from web apps   sumit sidharthNew and improved hacking oracle from web apps   sumit sidharth
New and improved hacking oracle from web apps sumit sidharthowaspindia
 
JRuby最新事情@札幌
JRuby最新事情@札幌JRuby最新事情@札幌
JRuby最新事情@札幌Naoto Takai
 
How to create a skeleton of a Java console application
How to create a skeleton of a Java console applicationHow to create a skeleton of a Java console application
How to create a skeleton of a Java console applicationDmitri Pisarenko
 
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
 
Steps Need To Perform Data Warehousing Practicals
Steps Need To Perform Data Warehousing PracticalsSteps Need To Perform Data Warehousing Practicals
Steps Need To Perform Data Warehousing PracticalsMumbai B.Sc.IT Study
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityIdan Tohami
 
ReactJS & Material-ui Hello world
ReactJS & Material-ui Hello worldReactJS & Material-ui Hello world
ReactJS & Material-ui Hello worldDaniel Lim
 

Tendances (20)

Hibernate, Spring, Eclipse, HSQL Database & Maven tutorial
Hibernate, Spring, Eclipse, HSQL Database & Maven tutorialHibernate, Spring, Eclipse, HSQL Database & Maven tutorial
Hibernate, Spring, Eclipse, HSQL Database & Maven tutorial
 
스프링 시큐리티로 시작하는 웹 어플리케이션 보안 _강사준비 스터디 버전
스프링 시큐리티로 시작하는 웹 어플리케이션 보안 _강사준비 스터디 버전스프링 시큐리티로 시작하는 웹 어플리케이션 보안 _강사준비 스터디 버전
스프링 시큐리티로 시작하는 웹 어플리케이션 보안 _강사준비 스터디 버전
 
Experienced Selenium Interview questions
Experienced Selenium Interview questionsExperienced Selenium Interview questions
Experienced Selenium Interview questions
 
스프링 시큐리티로 시작하는 웹 어플리케이션 보안
스프링 시큐리티로 시작하는 웹 어플리케이션 보안스프링 시큐리티로 시작하는 웹 어플리케이션 보안
스프링 시큐리티로 시작하는 웹 어플리케이션 보안
 
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
 
Workshop desarrollo Cassandra con el driver Java
Workshop desarrollo Cassandra con el driver JavaWorkshop desarrollo Cassandra con el driver Java
Workshop desarrollo Cassandra con el driver Java
 
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
 
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"
 
Multiple instance on windows
Multiple instance on windowsMultiple instance on windows
Multiple instance on windows
 
Using Groovy with Jenkins
Using Groovy with JenkinsUsing Groovy with Jenkins
Using Groovy with Jenkins
 
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
 
New and improved hacking oracle from web apps sumit sidharth
New and improved hacking oracle from web apps   sumit sidharthNew and improved hacking oracle from web apps   sumit sidharth
New and improved hacking oracle from web apps sumit sidharth
 
JRuby最新事情@札幌
JRuby最新事情@札幌JRuby最新事情@札幌
JRuby最新事情@札幌
 
How to create a skeleton of a Java console application
How to create a skeleton of a Java console applicationHow to create a skeleton of a Java console application
How to create a skeleton of a Java console application
 
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
 
Steps Need To Perform Data Warehousing Practicals
Steps Need To Perform Data Warehousing PracticalsSteps Need To Perform Data Warehousing Practicals
Steps Need To Perform Data Warehousing Practicals
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite Activity
 
Keyword driven testing in qtp
Keyword driven testing in qtpKeyword driven testing in qtp
Keyword driven testing in qtp
 
ReactJS & Material-ui Hello world
ReactJS & Material-ui Hello worldReactJS & Material-ui Hello world
ReactJS & Material-ui Hello world
 

En vedette

Selecting and implementing donor or membership database
Selecting and implementing donor or membership databaseSelecting and implementing donor or membership database
Selecting and implementing donor or membership databaseNorman Reiss
 
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
 
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 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
 

En vedette (7)

Selecting and implementing donor or membership database
Selecting and implementing donor or membership databaseSelecting and implementing donor or membership database
Selecting and implementing donor or membership database
 
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
 
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 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
 
Database Proposal
Database ProposalDatabase Proposal
Database Proposal
 

Similaire à ( 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 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
 
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
 
Advanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETAdvanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETTony Lisko
 
Flask jwt authentication tutorial
Flask jwt authentication tutorialFlask jwt authentication tutorial
Flask jwt authentication tutorialKaty Slemon
 
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
 
Running Vue Storefront in production (PWA Magento webshop)
Running Vue Storefront in production (PWA Magento webshop)Running Vue Storefront in production (PWA Magento webshop)
Running Vue Storefront in production (PWA Magento webshop)Vendic Magento, PWA & Marketing
 
Handson1 6 federp
Handson1 6 federpHandson1 6 federp
Handson1 6 federpfederpmatc
 

Similaire à ( 15 ) Office 2007 Create A Membership Database (20)

( 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
 
Node.js with MySQL.pdf
Node.js with MySQL.pdfNode.js with MySQL.pdf
Node.js with MySQL.pdf
 
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
 
Dbm 438 week 6 ilab
Dbm 438 week 6 ilabDbm 438 week 6 ilab
Dbm 438 week 6 ilab
 
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
 
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
 
AWS essentials EC2
AWS essentials EC2AWS essentials EC2
AWS essentials EC2
 
Advanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETAdvanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NET
 
PHP FUNCTIONS
PHP FUNCTIONSPHP FUNCTIONS
PHP FUNCTIONS
 
Flask jwt authentication tutorial
Flask jwt authentication tutorialFlask jwt authentication tutorial
Flask jwt authentication tutorial
 
Mysql python
Mysql pythonMysql python
Mysql python
 
Mysql python
Mysql pythonMysql python
Mysql python
 
P3.docx
P3.docxP3.docx
P3.docx
 
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!
 
Running Vue Storefront in production (PWA Magento webshop)
Running Vue Storefront in production (PWA Magento webshop)Running Vue Storefront in production (PWA Magento webshop)
Running Vue Storefront in production (PWA Magento webshop)
 
Handson1 6 federp
Handson1 6 federpHandson1 6 federp
Handson1 6 federp
 
Tomcat + other things
Tomcat + other thingsTomcat + other things
Tomcat + other things
 

Plus de LiquidHub

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
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration StepsLiquidHub
 
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
 
Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007LiquidHub
 
Office Share Point Server2007 Functionaland Architectural Overview
Office Share Point Server2007 Functionaland Architectural OverviewOffice Share Point Server2007 Functionaland Architectural Overview
Office Share Point Server2007 Functionaland Architectural OverviewLiquidHub
 
Office2007 Overview Express
Office2007 Overview ExpressOffice2007 Overview Express
Office2007 Overview ExpressLiquidHub
 
Moss2007 Installation Configuration
Moss2007 Installation ConfigurationMoss2007 Installation Configuration
Moss2007 Installation ConfigurationLiquidHub
 
Moss2007 Enterprise Features Administration
Moss2007 Enterprise Features AdministrationMoss2007 Enterprise Features Administration
Moss2007 Enterprise Features AdministrationLiquidHub
 

Plus de LiquidHub (20)

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
 
Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007Organizingand Finding Resourceswith Office Share Point Server2007
Organizingand Finding Resourceswith Office Share Point Server2007
 
Office Share Point Server2007 Functionaland Architectural Overview
Office Share Point Server2007 Functionaland Architectural OverviewOffice Share Point Server2007 Functionaland Architectural Overview
Office Share Point Server2007 Functionaland Architectural Overview
 
Office2007 Overview Express
Office2007 Overview ExpressOffice2007 Overview Express
Office2007 Overview Express
 
Moss2007 Installation Configuration
Moss2007 Installation ConfigurationMoss2007 Installation Configuration
Moss2007 Installation Configuration
 
Moss2007 Enterprise Features Administration
Moss2007 Enterprise Features AdministrationMoss2007 Enterprise Features Administration
Moss2007 Enterprise Features Administration
 

Dernier

(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 

( 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. 6. Execute the following commands: (They all can be executed at once!)
  • 3. Lab 15: Create a Membership Database 3 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' EXEC aspnet_Roles_CreateRole 'SharePoint', 'MRoleC'
  • 4. Lab 15: Create a Membership Database 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' 8. Close The SQL Server Management Tool and say No to save You have created a new database (aspnetdb) with that contains membership, roles, and users. Lab completed!