Home Knowledge Articles Tools Add Everyone To Cognos Role SystemAdministrator SQL script
Follow us on Twitter


Countries

50.1%United States United States
7.6%India India
7%United Kingdom United Kingdom
5.1%Australia Australia
4.8%Canada Canada

Visitors

Today: 36
Yesterday: 111
Last Week: 3359
This Month: 9188
Last Month: 16191
Total: 382841


Add Everyone To Cognos Role SystemAdministrator SQL script PDF Print E-mail
(2 votes, average 5.00 out of 5)
Written by Martijn Christenhusz   
Thursday, 28 May 2009 21:12

In Cognos 8.1 and Reportnet it was possible to delete the group Everyone from the Systemadministrators role in the Cognos namespace. In Cognos 8.2 and higher, it is not possible to delete the group Everyone, before you add another user, group or role to the role Systemadministrators. If you are somehow not able to get Systemadministrator permissions in the content store use the following script:

 insert into CMREFORD1 (PROPID, CMID, ORD, REFCMID)
 select 27, (select cmid from cmobjprops1 where objid='::System Administrators'),
   coalesce((select max(ord) from CMREFORD1 where propid=27 and cmid=(select cmid from cmobjprops1 where objid='::System Administrators')), -1)+1,
   CMID
  from CMOBJPROPS1 where OBJID='::Everyone'

This script is called AddSysAdminMember.sql and can be found for SQL, Oracle, DB2, Sybase and Derby in the directory C:\Program Files\COGNOS\c8\configuration\schemas\content\

Run this script in MS SQL Query Analyzer for your Content Store database and you can log in as SystemAdministrator to fix the security.

Comments

avatar rdub9000
+1
 
 
Thank you! This saved me days of work.
Please login to post comments or replies.
Last Updated on Thursday, 28 January 2010 17:17
 
 

Login

For more content en features!



CogKnowHow Newsletter

Season's Greetings


Receive HTML?

Polls

How many users are working on your Cognos environment?