Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

User Last Login Date

ejeong
Valued Contributor
Valued Contributor

Is there a way we can query user's last login date to revoke all previliged sav_role if user didn't login over 90days?

I checked schema of users' table but couldn't find anything..

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

select u.username , max(logintime) from users u, userlogins l where l.userkey=u.userkey

group by u.userkey


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

ejeong
Valued Contributor
Valued Contributor

@rushikeshvartak 

Is "UserLogin" table hidden? I can't see the table name in data analyzer page and also I am not able to make query with that table in data analyzer

ejeong
Valued Contributor
Valued Contributor

@rushikeshvartak but I can make query from analytics

ejeong
Valued Contributor
Valued Contributor

@rushikeshvartak UserLogin table seems huge to search.. I want to apply filter to narrow down the scope? Any better idea? I am searching one person now.. but it is taking huge amount of time to search.. 

ejeong_0-1676422549925.png