SQL Query for Project Permission in Project Server 2010

HI
I have assign multiple users on multiple projects with different level permission, 
The permission level is assign from Project Permission (icon ribbon in PWA 2010.)
(1.Open the project within Project Professional or Project Web App,
2.Edit and Save
the project within Project Professional or Project Web App
3.Edit Project
Summary Fields within Project Professional or Project Web App
4.Publish the
project within Project Professional or Project Web App
5.View the Project
Summary in the Project Center
6.View the Project
Schedule Details in Project Web App.
7.View the Project
Site)
Is there any SQL Query to find which user/resource is assign to which projects and what above permission is assign.
Thanks 
Farhan
farhan

Hi Farhan,
Please find the SQL below below which will give project permission users:
select RES_SECURITY_GUID from ProjectServer_Published.dbo.MSP_RESOURCES where RES_UID = '37A56C30-34DE-417B-95A8-42FBA6F47565'
select PROJ_NAME  from ProjectServer_Published.dbo.MSP_PROJECTS where PROJ_UID in (
select distinct c.PROJ_UID from ProjectServer_Published.dbo.MSP_WEB_SECURITY_PROJECT_CATEGORIES c
          INNER JOIN ProjectServer_Published.dbo.MSP_WEB_SECURITY_SP_CAT_RELATIONS pcr on pcr.WSEC_CAT_UID = c.WSEC_CAT_UID
          INNER JOIN ProjectServer_Published.dbo.MSP_WEB_SECURITY_SP_CAT_PERMISSIONS pcp on pcp.WSEC_REL_UID = pcr.WSEC_REL_UID
          INNER JOIN ProjectServer_Published.dbo.MSP_WEB_SECURITY_GROUP_MEMBERS gm on gm.WSEC_GRP_GUID = pcr.WSEC_SP_GUID
          INNER JOIN ProjectServer_Published.dbo.MSP_WEB_SECURITY_FEATURES_ACTIONS AS SFA ON SFA.WSEC_FEA_ACT_UID = pcp.WSEC_FEA_ACT_UID
          INNER JOIN ProjectServer_Published.dbo.MSP_WEB_CONVERSIONS AS CONV ON CONV.CONV_VALUE = SFA.WSEC_FEA_ACT_NAME_ID where (1=1)
And (CONV.LANG_ID = 1033) and gm.WRES_GUID = '2F5512D4-F561-43AF-AB7B-A189B0B9B6E8') -- Replace with above returned RES_SECURITY_GUID
Vivek

Similar Messages

  • Any good training videos for project server 2010

    Hi All,
    I am working on SharePoint for several years and we had installed project server & created PWA site. But project server looks lot different from SharePoint. is there any good training video's for project server 2010?
    Thanks for any help
    Rithu

    Rithu,
    This would be a good place to start: http://technet.microsoft.com/en-us/library/ff628958(v=office.14).aspx
    There are also several videos on Youtube as well. I am not sure if there is a 'structured' course available for Project Server 2010
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Creating an SQL Query for Project Custom Fields Values

    Hello:
    I'm currently trying to create an SQL Query to show all of the server's Project Custom Fields Values, along with the modification date.
    So far, I've managed to display correctly all of the data for all of the Projects' text value Custom Fields (those not based on a LookUp Table) with this query:
    SELECT
    MSP_PROJECTS.PROJ_NAME,
    MSP_CUSTOM_FIELDS.MD_PROP_NAME,
    MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE,
    MSP_PROJ_CUSTOM_FIELD_VALUES.TEXT_VALUE,
    MSP_PROJ_CUSTOM_FIELD_VALUES.MOD_DATE
    FROM
    MSP_PROJ_CUSTOM_FIELD_VALUES
    INNER JOIN
    MSP_CUSTOM_FIELDS
    ON MSP_CUSTOM_FIELDS.MD_PROP_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
    INNER JOIN
    MSP_PROJECTS
    ON MSP_PROJECTS.PROJ_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID
    WHERE
    MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE IS NULL
    ORDER BY
    MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID,
    MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
    However, when I try a new Query to obtain the actual values for the Projects Custom Fields that do use a LookUp Table, I can't seem to find what table in the model I'm supposed to link to the MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE field (the TEXT_VALUE
    field has NULL value when CODE_VALUE field isn't NULL)
    Any suggestions on how to obtain the actual Projects' custom fields values instead of the Code Value, for Metadata that do use a LookUp Table?
    Also, I'm able to run this query only in the Published Database, since the MSP_CUSTOM_FIELDS table is empy in the Draft Database. Why is that?
    Awaiting your kind reply,
    Sebastián Armas PMO Project Manager

    Hi Sebastián, rather than directly accessing the database it would be better to use the PSI to get this data.  Take a look at the ProjTool sample in the SDK whcih gets this data.
    Best regards,
    Brian.
    Blog |
    Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter |
    Project Developer Center |
    Project Server Help | Project Product Page

  • How to enable Portfolio Analysis Feature for Project Server 2010?

    Hi,
    We have a Project Server 2010 instance. We now want to Use the Portfolio Analysis on our server. How can we enable the feature on our existing environment without disturbing any current feature that we have ?
    If someone can provide with the detailed steps for the configuration process that will be helpful.
    Thanks

    Hi ,
    The portfolio feature is part of the out of the boxProject Server 2010 solution. Maybe you just have to unhide the links in the quick launch menu. It will not disturb any of your current configuration.
    Please find here a couple of links:
    https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=12&checkda=1&ct=1397216770&rver=6.0.5276.0&wp=MCLBI&wlcxt=technet%24technet%24technet&wreply=http%3a%2f%2ftechnet.microsoft.com%2fen-us%2flibrary%2fgg715564%2528v%3doffice.14%2529.aspx&lc=1033&id=254354&mkt=en-US
    http://azlav.umtblog.com/2012/04/10/resource-plans-and-portfolio-analysis/
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Error when navigating to the PWA root site for Project Server 2010

    I received a nice Happy New Year from my Project Server 2010 today. I tried to navigate to the root site and received the following error.
    Error
    The base type 'Microsoft.Office.Project.PWA.PJBaseWebPartPage' is not allowed for this page. The type is
    not registered as safe.
    Troubleshoot
    issues with Microsoft SharePoint Foundation.
    Correlation ID: b1898d3e-5d41-4ed4-9466-1d7775714293
    Date and Time: 1/3/2012 10:54:53 AM
    I did some searching and found that it could be one of 2 things
    1.      
    App Pool security
    2.      
    Custom Master page.
    All the sub-sites seem to work fine, so I went with option 2. I changed the Master page of the root site back to v4.master and everything works fine again.
    So far the only solution I found to allow for using a Custom master page is to modify the web.config as suggested here:
    http://jimecox.wordpress.com/2011/05/03/project-server-2010-changing-master-page/
    My custom master was working fine for the past 6 months, so I’m not sure why I need to make this new update.
    Anyone else run into this recently with another fix? The changes seem to be opening the security on the Project web app a bit or am I wrong?
    Thank you in Advance!

    Looks like I fixed this by changing the Master page back to the OOTB version v4.master here:
    https://<pwa url>/_Layouts/ChangeSiteMasterPage.aspx
    Then I navigated to the PWA root site.
    https://<pwa url>/default.aspx
    Finally changed the master page back to my custom one. Error gone!

  • Project Server 2010 Resource Assigments - Need a license for every Resource?

    I am trying to determine the requirements for Project Server 2010 licenses.
    In Project Server 2010, I need to add resources to the pool, then assign a resource to a project task.  The task will be maintained/statused through a manager, not the resource.  
    Does that resource need to have a Project Server license even if the resource never accesses Project Server even through PWA?

    Hi JenKranich,
    You need licences only for users that will access
    Project Server data by any means :
    MS Project Pro, Sharepoint sites and/or
    PWA.
    But resources not associated with users are not "real person" accessing data but just informal entity, thus no need for licences for those resources.
    It is important to note that if those resources can access the SharePoint site, since it contains Project Server data (risks, issues, deliverables), then they DO need a licence.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Project Server 2010 - Applying CUs after SP2?

    I am taking over support of a development environment for Project Server 2010 and would like to update it to a more recent level of CU. We have one DB server, and all other components are on one additional server.
    Current levels from the Control Panel: MS Proj Server 2010 14.0.7015.1000, MS Sharepoint Server 2010 14.0.7015.1000, Service Pack 2 KB2687452 applied.
    Farm Info: Config DB version: 14.0.6134.5001.
     1. Can I apply the April CU and it will include all the previous CUs since SP2? Do I need to install the CUs one at a time?
     2. For each CU, do I install the Sharepoint component first, then Project?
     3. I keep reading information about problems with SP1 but I don't see it in my Control Panel as installed (just SP2.) Can I install Feb or April 2014 CU and avoid whatever issues were happening with July 2013 CU and SP1?
     4. Any advice on next steps is greatly appreciated.

    Hi LD2009,
    here are the answers to your questions:
    Q1: The CU April 2014 has included all fixes since SP2. So you don't need to install older CUs.
    Q2: You don't need seperate packages for SharePoint and Project Server. There is a Rollup-Package which updates both SharePoint
    and Project Server together. You can find it
    here.
    Q3: You must enshure that SP2 was installed and deployed correctly. In the Central Administration check if all databases were upgradet to the latest Level. If not, run psconfig.
    If you have the BCS Service configured then you have to run the following PS script (otherwise the BCS database would remain in the compatibility mode):
    (Get-SPDatabase | ?{$_.type -eq “Microsoft.SharePoint.BusinessData.SharedService.BdcServiceDatabase”}).Provision()
    For all other issues we need more details.
    For more informations read the blog posts from
    Brian Smith and
    Stefan Goßner.
    I hope this helps.
    Regards
    Bernhard Fischer
    Bernhard Fischer [MVP] | www.wodey.de

  • How to configure Https in Project server 2010.

    HI,
    Can i any one help me,
    How to configure Https in Project server 2010.
    My server farm is 1.Test1(App & Wfe) 2. Test2(App & Wfe) 
    Both are load balanced  wit NLB as abc.hyd.in
    DO i need to Install certificate in two servers   Test1 & Test2 or one server is enough ?
    Can any one please provide me a link to configure Https for project server 2010 for Two  Farms Servers.
    Thank You, Kumar KSV

    There is no special configuration for Project Server to have the IIS enabled, it follows the typical sharepoint SSL enablement, we might need some mor edetails on how your NLB is done is it hardware based, software based ? it all depends how you want
    to architecht the system, you can enable the Https either on NLB or WFE, again depending upon how you want to enable it, you will need to install the certificates on both WFE or on NLB
    Follow the blog below to configure the SSL:
    http://epmxperts.wordpress.com/2011/03/05/extend-same-project-web-app-instance-for-different-protocol-authentication-mechanism/
    http://blogs.msdn.com/b/sowmyancs/archive/2010/02/12/how-to-enable-ssl-on-a-sharepoint-web-application.aspx 
    http://www.sharepointconfig.com/2010/03/configuring-a-sharepoint-website-to-allow-ssl-connections/ 
    Thanks | epmXperts | http://epmxperts.wordpress.com

  • How to query Process Status from database in Project Server 2010

    Hello All,
    I am using Project Server 2010. 
    I need to query Process Status  from SQL. 
    where can I find Process Status in Database. 
    Thanks,
    Rohit

    Hi Rohit,
    you will not be able to find this information in reporting DB - the only database queries are supported.
    If you really want to go for an unsupported solution, you should be able to find related tables and how to join them in stored proc "MSP_WEB_SP_QRY_Statusing_ReadStatus" in published database.
    Regards
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • Best practice for patching ( Feb 2014 CU) of Project Server 2010

    Hi,
    Please advise.
    Thanks
    srabon

    Hi,
    My current environment is,
    # VM -1 (Project Server 2010) Enterprise Edition
    - Microsoft SharePoint and Project Server 2010 SP1
    - Configuration Database Version 14.0.6134.5000
    - Patch installed - KB2767794
    # VM -2 (SQL Server 2008 R2)
    Now my plan is,
    - Taking Snapshot for the VM-1
    - Should I also take VM snapshot for VM-2 ?
    - Taking Farm Backup
    - Taking /pwa site collection backup
    For your information I do see in your articale MS says that I may have SP1 or SP2 before running this patch but you mentioned I have to have SP2 as well ?
    Fyi....
    Prerequisites
    To install this cumulative update, you must have one of the following products installed:
    Microsoft Project Server 2010 Service Pack 1 (SP1) or Service Pack 2 (SP2)
    Microsoft SharePoint Server 2010 Service Pack 1 (SP1) or Service Pack 2 (SP2)
    Microsoft SharePoint Foundation 2010 Service Pack 1 (SP1) or Service Pack 2 (SP2)
    Please advise if I miss something in my plan.
    Thanks
    srabon

  • Create a defaut view for the MS Project Server 2010 client

    Dear Forum,
    how can I create a defaut view for the MS Project Server 2010 client?
    I saved a template and set a default view under File -> Options ->Project View. I also did the same in the checked-out enterprise global. If I then close the client and re-open it my default view changes back again to the previous one (not the view
    I set as a default view).
    What explains this behaviour and what can I do? Any hints?
    Thank you very much for your help!

    Scheduler007 --
    The view you selected by clicking File > Options > Project View is the default view for every new project you create from a blank project template.  This is a global option, so setting it from the checked out Enterprise Global file serves no purpose. 
    When you select a view as your default view, you will see that view applied to the blank project that is opened when you launch Microsoft Project 2010, and you will see it applied if you create new blank projects.  If you create enterprise templates for
    people to use in your organization, you should simply apply the view to the template that you want as the default so that users will see this view immediately when they create a new project from the template.  In addition, if you apply a view to an open
    project, close and check in the project, and then reopen the project, you will see the last view applied in that project (as Guillaume correctly points out).
    Beyond this, there is no method possible for the Project Server administrator to specify a default view for the Microsoft Project application used by the project managers in your organization.  This is an option each PM must set.  Hope this helps.
    Dale A. Howard [MVP]

  • Send email is not working in share point desinger 2013 for project server 2013 workflow

    Hi,
      How to configure email for project server 2013. i have created workflow where i am sending email. It is not sending it.
     i have set outgoing mail setting. Tasks are created in my workflow but mail is not sending.
    Thank you for helping us.
    Thank You
    Vinay

    Hi,
      How to configure email for project server 2013. i have created workflow where i am sending email. It is not sending it.
     i have set outgoing mail setting. Tasks are created in my workflow but mail is not sending.
    Thank you for helping us.
    Thank You
    Vinay

  • Audit Log is required for Project server

    Hi,
    Audit Log is required for EPM / Project Server 2010 
    Following are the requirements.
    Project Name, Resource Name and Date of Following Events.
    1. Project checked Out By, Date (This is highly important)
    2. Project Checked In By, Date
    3. Project Published By, Date
    4. Project Saved By, Date

    Hi Hachishti,
    Please refer to a recent similar thread with excellent answer from Paul.
    http://social.technet.microsoft.com/Forums/projectserver/en-US/435fbb7a-1c82-419c-b83e-e89419dc66aa/project-server-2010-view-plan-save-history?forum=projectserver2010general
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Project Server 2010 - Different Schedule Dates for Different Users -- Same File

    We have an issue regarding users viewing the same schedule, different machines.
    The PMs have a schedule that was built in 2007 by the offshore team.  We are running Project Server 2010 corporate, and they the PMs here on site have Project Professional 2010.  Within the last couple of weeks, the PMs have noticed changes in
    the dates.
    When I open the schedule, I see the expected dates rendered in both PWA and Project Professional.  Both draft and published versions are the same regardless of where the schedule is opened for editing.  There are two PMs managing the schedules. 
    One sees what I see--the expected dates.  The other sees differences in dates--months, in fact.  Scheduled end date is 10/22/2013.   When the second PM opens the schedule, he sees a scheduled end date of 2/17/2014.
    I advised them that the offshore team needed to upgrade to 2010 due to the differences between 2007 and 2010.  Additionally, and I could be wrong, having the server run in compability mode for so long (the upgrade was done in May 2013), is not ideal. 
    (Offshore team has since updated to 2010.)
    Any thoughts on what could be causing this issue?  Corrupt version of Professional?  Settings askew?
    Thank you,
    L.D.

    My bad, I didn't know that you were not using Project Server.
    Then the file might be corrupted.
    Try the
    XML export and the
    save for sharing method to repair it.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to change the look and feel for Heading of quick launch menu in project server 2010

    Hi
    can someone tell me how to change the look and feel of Header names in quick launch.
    I want the header to be displayed in Bold with Underline to it.
    could this be possible for just header in quick launch in project server 2010. 

    Hi Rohan
    It does not work this way. You have to use a content editor webpart.
    See references below that might help you starting with this customisation:
    Http://go4answers.webhost4life.com/Example/sharepoint-2010-quick-launch-look-feel-78379.aspx
    Http://m.sharepointpromag.com/sharepoint/four-ways-add-or-remove-quick-launch-menu-control
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

Maybe you are looking for