Call Us Today! 1-800-895-3254
[email protected]
Microsoft Training
Integent offers a comprehensive portfolio of training services, with an ideal fit for every organization. Ranging from general courses to custom solutions, we have you covered.
Learn About TrainingSee Full list of Courses
Microsoft Consulting
Integent provides consulting services for a variety of Microsoft applications including Microsoft Project, Project Online, Project for the Web, Dynamics 365, and Microsoft SharePoint.
Learn About Consulting
Microsoft Support
Microsoft technologies set the standard for project portfolio management, business applications, collaboration, and more. Integent has flexible solutions to support every customer.
Learn About Support
Microsoft Project
Integent has the knowledge and experience to help design and deploy a solution to help your organization manage projects and resources more effectively
Learn More About Microsoft Project
Microsoft Dynamics 365
Integent can help you nsure business continuity with a custom cloud solution that connects sales, service, finance, and operations teams to deliver results.
Learn More About Dynamics 365
Microsoft SharePoint
SharePoint is Microsoft’s collaboration platform that is a place where team members can communicate, exchange data, share files and much more.
Learn More About Microsoft SharePoint
Microsoft Power Platform
Consisting of Power BI, Power Apps, Power Automate and Power Virtual Agents, the Microsoft Power Platform helps streamline and improve business functions.
Learn More About The Power Platform
About Integent
Integent was founded in 2009 on the principles of building long-lasting relationships with customers, exceeding expectations, and providing outstanding customer service. 

We’re dedicated to providing a customized solution backed by our knowledgeable team of Microsoft experts.
Discover What Makes Us Different
GSA Schedule
Integent is GSA Schedule Contract holder. A GSA schedule helps simplify selling our services to government customers.
Read More Here
News
Stay informed on Integent’s latest company updates and other important industry information. Our passion is customer success.
Read The Latest News
Videos
Learning new software doesn’t have to be difficult with our library of dozens of free training videos. Our video training always has something new.
Browse Our Training Video Library
Blog
Our industry experts share best practices and common pitfalls to avoid, in order to get the most out of your technology solutions.
Discover More

January 21, 2012

SQL Statement to update user Permissions for Project Server 2010

 

If you have ever run into a situation where you or someone changed the permissions of your only Administrator account in Project Server to something less permissive, then you will find the queries below helpful. 

You would first need to run a query to find out the security group ID of your Administrators security group.  Once this is done you would fun the first query below to get the information for the resources you would like to change.  The query at the bottom inserts the appropriate record to create a relationship between your user account and Administrators security group.

SELECT MSP_WEB_SECURITY_GROUP_MEMBERS.WRES_GUID ,
MSP_WEB_SECURITY_GROUP_MEMBERS.WSEC_GRP_GUID,
MSP_WEB_SECURITY_GROUP_MEMBERS.CREATED_DATE, MSP_WEB_SECURITY_GROUP_MEMBERS.MOD_DATE,
MSP_WEB_SECURITY_GROUP_MEMBERS.CREATED_REV_COUNTER,
MSP_WEB_SECURITY_GROUP_MEMBERS.MOD_REV_COUNTER,
MSP_RESOURCES.RES_NAME, MSP_WEB_SECURITY_GROUPS.WSEC_GRP_NAME
FROM MSP_WEB_SECURITY_GROUP_MEMBERS INNER JOIN
MSP_RESOURCES ON
MSP_WEB_SECURITY_GROUP_MEMBERS.WRES_GUID = MSP_RESOURCES.RES_SECURITY_GUID INNER JOIN
MSP_WEB_SECURITY_GROUPS ON MSP_WEB_SECURITY_GROUP_MEMBERS.WSEC_GRP_GUID = MSP_WEB_SECURITY_GROUPS.WSEC_GRP_GUID
WHERE (MSP_RESOURCES.RES_NAME LIKE '%sharepointprojadmin%') OR
(MSP_RESOURCES.RES_NAME = 'pwasysadmin') GO
----------------------------------------
INSERT INTO [Px_Prod_Published].[dbo].[MSP_WEB_SECURITY_GROUP_MEMBERS]
([WRES_GUID]
,[WSEC_GRP_GUID]
,[CREATED_DATE]
,[MOD_DATE]
,[CREATED_REV_COUNTER]
,[MOD_REV_COUNTER])
VALUES
('7895A25B-E099-4372-867B-447551F59346'
,'4E241D3E-5E0F-4AC5-B6F7-EAB14B3D43BA'
,GETDATE()
,GETDATE()
,0
,0)
GO

© Copyright 2023 | Integent.com | All Rights Reserved
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram