SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
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
 
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
 
NodeJS @ ACS
NodeJS @ ACSNodeJS @ ACS
NodeJS @ ACS
 

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

20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-pyJamie (Taka) Wang
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfJamie (Taka) Wang
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Brian Pichman
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarPrecisely
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesDavid Newbury
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 

Último (20)

20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity Webinar
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
 
20150722 - AGV
20150722 - AGV20150722 - AGV
20150722 - AGV
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 

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