on 06-04-2015 1:58 PM
Hi, there doesn't seem to be a system stored procedure in IQ which does the equivalent of sp_displaylogin in ASE. Does anyone have a custom one? Or is there an IQ one which I have just not seen?
Thanks!
Hi David,
I'm not aware of such procedure, but queries below may help to write your own proc.
1-
select U.user_id, U.user_name, U.expire_password_on_login, U.password_creation_time, U.failed_login_attempts, U.last_login_time, U.user_type, U.user_dn,U.user_dn_cached_at, A.resourceauth, A.dbaauth, A.scheduleauth, A.user_group, P.login_policy_id, P.login_policy_name
from SYSUSER U, SYSLOGINPOLICY P, SYSUSERAUTH A
where
U.login_policy_id=P.login_policy_id and
U.user_name=A.name and
U.user_name='tayeb' ;
2-
select role_name, grant_type, grantor from SYSROLEGRANTS
where
grantee_name='tayeb';
Regards,
Tayeb.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.