Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
Expand all | Collapse all

Locating active users

  • 1.  Locating active users

    Posted Wed October 15, 2025 06:43 PM

    Is there an easier way to manage users? Does the search function not work in the Cognos directory like it does searching for an employee in the AD directory?

    I am frequently asked if an employee has access, to enable/disable users, determine what groups/roles a user is a member, etc...normal admin duties, right?

    The search function does not work in the Cognos side of the Accounts screen no matter how I type a user's name including my own. It works great if you are searching AD for an employee. This causes me to have to manually traverse each and every role/group for a user. Not even sure how I can determine all the groups/roles a user is a member, either. I am new admin with 17 years exp. as a certified Cognos Developer. TIA for any advice given.



    ------------------------------
    Dennis McClure
    ------------------------------


  • 2.  RE: Locating active users

    Posted Thu October 16, 2025 05:53 AM

    Hello Dennis,

    unfortunately such questions cannot be answered with the standard functionality of Cognos.

    The search function just search for a object with given name, but does not look "into" a group/role or search the objects recursive.

    With 3rd Party tools you can get answers to your questions.

    One tool is ICALT (IBM Cognos Analytics License Tracker). 
    The main purpose is to track the authorized user license, but there are also a bunch of reports for administration included.
    Regarding to user information for example:
    - which users were logged in last time (since x day / last logon more than x days)
    - which users have access to Cognos but have never accessed it
    - path from user-id to all groups/roles (nested)
    - which users had authorization and a user profile, but now no longer have authorization, meaning they can no longer log in and should be removed



    ------------------------------
    Michael Haaß
    IBM
    ------------------------------



  • 3.  RE: Locating active users

    Posted Thu October 16, 2025 09:25 AM

    I looked at the ICALT link, but some quick questions. we have 300+ cognos instances over many servers. typically, we do not use 3rd party tools due to cost and setup. 

    ++ is there a cost for ICALT 

    ++ is it licensed by IBM

    ++ is the data in a cognos package?

    ++ the backend data can be stored in a MS SQL database?

    ++ how does the SDK get executed? Is there a screen, command line, from within cognos, etc?



    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------



  • 4.  RE: Locating active users

    Posted Thu October 16, 2025 11:28 AM

    You have to contact your service seller to request a registration key for your company in order to use the full functionality of the tool.  It does appear that the tool will connect to a DB to record the results -- and I would imagine it would be the same as the current audit DB connection.  I have not personally used the tool but I would think that SQL server is definitely a supported DB.  300 instances is a lot to manage - but the number of overall servers you all have to manage is absolutely crazy.  :)



    ------------------------------
    John Cusack
    Analytica iQ
    3042818589
    ------------------------------



  • 5.  RE: Locating active users

    Posted Fri October 17, 2025 02:48 AM

    Hi Brenda,

    ICALT is an as-is service offering where you have to pay only once for a "lifetime" registration key. SDK is used to extract data from Cognos environments and write the result in a database (DB2/SQL/ORA). There is a deployment package which you have to import in (at least) one of your environments and a connection to the ICALT-database. The package include reports for licence tracking and administration. The SDK needs to be executed by a scheduler (command line) on a regular base (e.g. once a day).

    Do you really have 300+ environments (means 300+ separate Content Store databases)? How many users are configured for one environment or in total for all? With so many hardware I would assume that you have authorized user license and not PVU?

    If you would like to test ICALT, I can provide you with a test key (time-limited).



    ------------------------------
    Michael Haaß
    IBM
    ------------------------------



  • 6.  RE: Locating active users

    Posted Fri October 17, 2025 11:20 AM

    I work for FIS, a leading financial technology company. My role focuses on backend development, primarily using Microsoft SQL Server, for a product that integrates with IBM Cognos. As a Cognos reseller, our solution supports over 300 banks, each operating its own Cognos instance. Most of these banks are hosted in our data center, where each Cognos and SQL Server environment supports a small group of banks. Our banks vary in size. Some have hundreds of users, and some have a small number of users. With so many Cognos instances and Servers any product install has to be super easy. When I have the time, I will look at ICALT. Thanks



    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------



  • 7.  RE: Locating active users

    Posted Thu October 16, 2025 12:39 PM

    Michael, thank you so much for responding. When a user leaves our company I am asked to delete their account. We have at least 20-30 groups that a user can be a member of. When I click on 'Cognos' in the Accounts screen & use the Search function on the user's name, it doesn't ever return a name (I tried my non-admin account to test). If I tried the same on the AD namespace, I can easily retrieve a name. I find myself manually browsing each of the 20 groups for the user. Does the Search function only search the directory you are currently viewing? On the AD side, I just have to type the name and the name is retrieved without traversing groups. The entire off-boarding process from a Cognos perspective is not as risk-averse as we would wish.



    ------------------------------
    Dennis McClure
    ------------------------------



  • 8.  RE: Locating active users

    Posted Fri October 17, 2025 02:25 AM

    Hi Dennis,

    what you describe is the way how it works. The Cognos Namespace does not contains user objects and therefore you will never find a user. 

    Users are referenced inside a group / role, or I guess in most cases only the external group (AD-group with users or other AD-groups) is referenced (assigned) to a Cognos group/role. The search function is looking for the name of objects. For example searching for "Readers" will result in the role Readers. The search does not "look" inside the objects (group/role). When your are searching for a user in the AD Namespace then you will find the user because the AD administrate the users (and AD-groups).

    Regarding "user leaves our company" - if this means the user object is deleted in the AD, then you can cleanup such users with the default function "consistency check". (see Abbas Alnamar). If the users will only be disabled but stay in AD then this function cannot be used because the reference is still valid. In this case you need to delete the users separately (also an option in ICALT).



    ------------------------------
    Michael Haaß
    IBM
    ------------------------------



  • 9.  RE: Locating active users

    Posted Thu October 16, 2025 09:39 AM
    Edited by Abbas Alnamar Thu October 16, 2025 09:49 AM

    Hello Dennis,

    Manual deletion

    To manually delete a single user's profile and content:

    1. Navigate to Manage > People > Accounts in IBM Cognos Administration.
    2. Click the namespace that contains the user.
    3. Locate the user you want to delete. 
    4. In the Actions column, click the More icon and then select Delete this user's profile.
    5. Confirm the deletion.

    Automated deletion

    For bulk cleanup of orphaned user profiles, use the Consistency Check tool in Cognos.

    1. Go to IBM Cognos Administration > Configuration > Content Administration.
    2. Click the New Content Maintenance icon and choose New Consistency Check.
    3. Select References to external namespaces and choose the namespace you wish to check.
    4. Run the check in Find only mode first to preview what will be deleted
    5. After reviewing, run it again in Find and fix mode to delete the orphaned user profiles.

    Deleting a user with MotioPI

    MotioPI is a third-party tool that can simplify many Cognos administration tasks, including deleting user content. For example, if a user has left the company, MotioPI can help you recover their personal content from the content store. The free version of MotioPI includes a "Content" panel that lets you

    • Search for content by owner.
    • Reassign or delete content owned by former employees.
    • Delete a user's entire profile from the Cognos content store.
    The free version of MotioPI can report on user access. Its "User Access Panel" allows you to:
    • Search for specific users.
    • Examine a user's permissions on Cognos content.
    • View a user's group and role membership

    This capability is particularly helpful for documenting user security settings and quickly assessing an individual's access rights within Cognos.

    Here is MotioPI website for more information https://motio.com/motiopi/



    ------------------------------
    [Abbas] [Alnamar]
    [Data Management and Analytics System Administrator]
    [Emporia State University]
    [Kansas, USA]
    ------------------------------



  • 10.  RE: Locating active users

    Posted Thu October 16, 2025 12:49 PM

    Abbas, thank you for responding. I would concur with your breakdown of manually deleting a user. We have 2 directories, AD & Cognos. I have full search functionality of 'AD' from the top-level and anywhere in between. However, in the Cognos Directory (contains all the pre-canned groups/roles), it would seem that the Search function is useless and has never worked.



    ------------------------------
    Dennis McClure
    ------------------------------



  • 11.  RE: Locating active users

    Posted Fri October 17, 2025 01:16 PM

    Hi Dennis,

    > Dennis writes: The search function does not work in the Cognos side of the Accounts screen no matter how I type a user's name including my own. It works great if you are searching AD for an employee. This causes me to have to manually traverse each and every role/group for a user. Not even sure how I can determine all the groups/roles a user is a member, either. I am new admin with 17 years exp. as a certified Cognos Developer. TIA for any advice given.

    Hi Dennis,

    You mention you are using AD.  There are configurations for AD and LDAP where Cognos is not able to search for users.  This is determined by the settings used in Cognos Configuration such as where in the AD structure Base DN is configured to point and whether search is enabled for user lookup. These would be the most likely scenarios but there are other possible reasons.  Recommend doing your best to understand what lead to the current configuration. Usually, configurations were made for a reason that was relevant at the time.  Looking at the configuration will usually provide clues as to the reason it was configured a certain way.

    Not too difficult to get the user / group role members for a user (see other posts here). As well WebGrant and Security 4X provide this information in regular Cognos reports to so that this information is always available and up to date for anyone in the organization who needs to know.  

    > Michael, thank you so much for responding. When a user leaves our company I am asked to delete their account. We have at least 20-30 groups that a user can be a member of. When I click on 'Cognos' in the Accounts screen & use the Search function on the user's name, it doesn't ever return a name (I tried my non-admin account to test). If I tried the same on the AD namespace, I can easily retrieve a name. I find myself manually browsing each of the 20 groups for the user. Does the Search function only search the directory you are currently viewing? On the AD side, I just have to type the name and the name is retrieved without traversing groups. The entire off-boarding process from a Cognos perspective is not as risk-averse as we would wish.

    Dennis for bulk user removal Security 4X will remove users who have left the company and will remove the users from all related groups and roles, updating user count information. This includes counts of who has access to each Cognos content area (and licenses, features and capabilities).  You can choose between removing users who no longer exist in Active Directory (or any IdP), or who have been disabled, or, who have been expired. Optionally you can just view the list to be removed and what caused them to be on the list so you can manually validate the user list before initiating removal. 

    WebGrant and Security 4X are both super easy install (no coding) and a GUI for all functions.  User removal can be done for any number of Cognos instances and IdP combinations. There is separate reporting of the removals for each Cognos instance (provided using Cognos reports).  Cognos instances / environments themselves can be bulk loaded (and the list of Cognos instances / environments are also made available by Cognos Report).

    Dennis, please let me know if you would like more information, a demonstration or a discussion on anything here. Happy to look at your AD configuration if you need the extra set of eye's on what lead to not being able to search for your AD users.

    Best Paul

    paul.hulford@attaininsight.com

    info@attaininsight.com



    ------------------------------
    Paul Hulford
    ------------------------------



  • 12.  RE: Locating active users

    Posted Wed November 19, 2025 05:22 AM

    Hi @Dennis McClure and @Brenda Grossnickle,

    https://github.com/AMVARA-CONSULTING/cocoma/ can export ("dump") accounts and roles. There is a undocumented option "--dumpSecurityAndAccounts" and "--dumpaccounts" (see: https://github.com/AMVARA-CONSULTING/cocoma/blob/master/src/com/dai/mif/cocoma/CoCoMa.java around line 961).

    Love open source :-)



    ------------------------------
    Ralf Roeber
    https://linkedin.com/in/ralf-roeber/
    ------------------------------



  • 13.  RE: Locating active users

    Posted Mon December 01, 2025 02:48 PM
    Edited by Dion Paul Mon December 01, 2025 02:50 PM

    Hi Dennis!  You should be able to make use of Motio PI for this.  I personally use a different 3rd party tool called Meta Manager by Bright Star Partners (now Microstrategies), but I believe that Motio PI is still a free option with Cognos Analytics, check with your account rep to be sure.



    ------------------------------
    Dion Paul
    Cognos Administrator
    Ascend SC
    Daytona Beach FL
    dpaul@scgts.com
    ------------------------------



  • 14.  RE: Locating active users

    Posted Mon December 01, 2025 06:52 PM

    You're right - managing users in Cognos can be frustrating. The search in the Cognos namespace rarely works properly unless the exact username is entered, while AD search works fine. Most admins end up checking roles manually because Cognos doesn't show everything cleanly.

    I've dealt with the same issue in other projects too, like organizing content on Anime World India, where I learned that sometimes the system just doesn't give you an easy way to find things.

    Hopefully IBM improves the search function in future updates.



    ------------------------------
    Ryan Mitchell
    ------------------------------