Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How USER_DEACTIVED field works in USERS View

$
0
0

Hi Everyone,

 

As we know that USERS Monitoring View shows information about all the users.

USER_DEACTIVATED filed specifies "If a User is Deactivated or not"

 

USERS - SAP HANA SQL and System Views Reference - SAP Library

 

When I see data from USERS view, I have observed that the value of this field is TRUE if I am manually deactivating a User but if a User is deactivated automatically(for reason of password expiry) then this View fieldUSER_DEACTIVATED shows value as "FALSE" while it should be "TRUE" as the user is deactivated.

 

I even checked P_USERS_ table and there also I found that if a User is deactivated automatically(for reason of password expiry) then this table shows USER_DEACTIVATED field value as '0'.


As shown in the below screenshot the User is Deactivated because the password is expired.

S01.JPG

But when I check the same User in USERS table, it shows USER_DEACTIVATED field value as 'FALSE'

S02.JPG

So, I want to know how this USER_DEACTIVATED field works? Does it show value TRUE only on manually deactivating User?

Because if this is the case then I will have to manually check each user to find out which Users are active and which are not?

 

We are using HANA Rev 82.

 

Regards,

Vivek


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>