Hi Suraj,
Try this query to get the creation date of a user:
SELECT
c33.cmid user_id
,c33.NAME AS ldap_id
,c33.USERID loginuser
,c33.LASTLOGIN lastlogin
,ud.created
,c33.LICENSE license
,c1.surname last_name
,c1.givenname first_name
,c1.email email
,c1.objid
FROM cmobjprops1 c1
LEFT JOIN cmobjprops33 c33
ON c33.cmid = c1.cmid
LEFT JOIN
( SELECT CMID, CREATED
FROM CMOBJECTS
WHERE CLASSID = 5 -- account
) UD
ON UD.cmid = c1.cmid
WHERE c33.cmid is not null
;
------------------------------
Thomas van der Meer
------------------------------
Original Message:
Sent: Wed May 19, 2021 03:33 PM
From: Suraj Neupane
Subject: Cognos Audit report for users and groups
Hi Trevor,
That table doesn't have date of users added to groups/roles.
It only has LASTLOGIN field.
I'm looking for date when a new user is added regardless of whether that user ever logged on or not.
------------------------------
Suraj Neupane
Original Message:
Sent: Thu May 13, 2021 07:00 AM
From: TREVOR COMEAU
Subject: Cognos Audit report for users and groups
Hi Suraj
Have you looked at the [CMOBJPROPS33] table? I don't know of a way to see when they were added out of the box.
------------------------------
TREVOR COMEAU
Original Message:
Sent: Wed May 12, 2021 11:01 AM
From: Suraj Neupane
Subject: Cognos Audit report for users and groups
Hi,
I have reports that show users logon history and other things.
What I'm looking for is list of users/groups that were added by admin for access whether or not they ever logged on to the system.
The reports I see only give output if user logon at least once.
Is there a way to generate a report of users by date they were added?
Thanks
------------------------------
Suraj Neupane
------------------------------
#CognosAnalyticswithWatson