SlideShare uma empresa Scribd logo
1 de 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!

Mais conteúdo relacionado

Mais procurados

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
 
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
 
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
 

Mais procurados (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
 

Semelhante a ( 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
 
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
 
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
 

Semelhante a ( 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
 

Mais de 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
 
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
 

Mais de 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
 

Último

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Último (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

( 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!