December 23, 2021 at 12:19 am
Any one can help me to get the SQL database permission creation and modification date? I can only get the database user creation and modifying date.
Thanks
SLu
December 23, 2021 at 3:11 am
Any one can help me to get the SQL database permission creation and modification date? I can only get the database user creation and modifying date.
Thanks
SLu
I could be wrong but I can't recall anywhere the " database permission creation and modification date" is stored.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 23, 2021 at 3:14 am
You CAN get the date that a user was provided access to a database...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 23, 2021 at 3:22 am
Yes, I can get the user creation date, but not the permissions.
Thanks
SLu
December 23, 2021 at 7:45 am
Grant revoke deny timestamps are not stored anywhere.
If you need that level of information you will need to look at DDL triggers or SQL Audit. But that will only give you future data not the past data.
December 23, 2021 at 8:05 pm
Thanks, ALl
January 4, 2022 at 10:42 am
You can modify the date created by copying a file. The file's created date becomes the modified date and the current date when the file is copied becomes the created date. You can copy a file on your PC to check.
January 4, 2022 at 7:02 pm
You can modify the date created by copying a file. The file's created date becomes the modified date and the current date when the file is copied becomes the created date. You can copy a file on your PC to check.
But we're not talking about the created and modified dates on a file. We're talking about permissions associated with a user.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply