master
Costas K 5 years ago committed by GitHub
parent 7ad67eaf11
commit 9882634f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,8 @@
-- Home\Library\Accounts
Select
datetime('2001-01-01', zaccount.zdate || ' seconds') as 'AccDate',
datetime('2001-01-01', zaccount.ZLASTCREDENTIALRENEWALREJECTIONDATE || ' seconds') as 'RenewalRejection',
ZACCOUNTTYPE.ZACCOUNTTYPEDESCRIPTION as 'AccTypeDescription',
ZACCOUNTTYPE.ZIDENTIFIER as 'AccountIdentifier',
zaccount.ZUSERNAME as 'Username',
@ -18,15 +21,17 @@ case zaccount.ZSUPPORTSAUTHENTICATION
end as 'SupportsAuth',
zaccount.ZAUTHENTICATIONTYPE as 'AuthenticationType',
ZACCOUNTTYPE.ZCREDENTIALTYPE as 'CredentialType',
ZACCOUNTPROPERTY.ZKEY as 'key',
case zaccount.ZVISIBLE
when 0 then 'No'
when 1 then 'Yes'
end as 'Visible',
end as 'AccVisible',
zaccount.ZIDENTIFIER as 'Identifier',
zaccount.ZOWNINGBUNDLEID as 'OwningBundleID'
from zaccount
join ZACCOUNTTYPE on ZACCOUNTTYPE.Z_PK = zaccount.'ZACCOUNTTYPE'
join ZACCOUNTPROPERTY on ZACCOUNTPROPERTY.Z_PK = zaccount.Z_OPT
order by AccDate desc
Loading…
Cancel
Save