Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6333881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:33:07+00:00 2026-05-24T18:33:07+00:00

Is there a check I can make to see if a user has modify

  • 0

Is there a check I can make to see if a user has modify rights to any object on the server without running the query as that user?

I need to create a logon audit report that lists logon times for accounts that have insert/update access for something on the server(i.e. on any database on the server)

This also needs to not impact performance(if possible) or have the smallest impact.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:33:08+00:00Added an answer on May 24, 2026 at 6:33 pm

    From this article:

    select sys.schemas.name 'Schema', sys.objects.name Object, sys.database_principals.name username, sys.database_permissions.type permissions_type,
         sys.database_permissions.permission_name, 
         sys.database_permissions.state permission_state,
         sys.database_permissions.state_desc,
         state_desc + ' ' + permission_name + ' on ['+ sys.schemas.name + '].[' + sys.objects.name + '] to [' + sys.database_principals.name + ']' COLLATE LATIN1_General_CI_AS
     from sys.database_permissions
     join sys.objects on sys.database_permissions.major_id = 
         sys.objects.object_id
     join sys.schemas on sys.objects.schema_id = sys.schemas.schema_id
     join sys.database_principals on sys.database_permissions.grantee_principal_id = 
         sys.database_principals.principal_id
     order by 1, 2, 3, 5
    

    You would want to filter by username. And keep in mind this shows only the explicitly defined permissions (and deny rules), not effective permissions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way where I can check if the field is numeric in
Are there any benchmarks that can be used to check if implementation of ANN
Is there any javascript algo that i can used to check for a website
How can I make requests to other server(s) (i.e. get a page from any
Is there a built-in function/method that can check if a given string is a
How can I check whether a variable is defined in Ruby? Is there an
In my desktop program, I want to check that to see if the user
How can I check if an email folder exists using Zend_Mail_Storage_Imap, theres a createFOlder,
I wrote two methods to check there performance public class Test1 { private String
there is this check-in-out program here at my workplace, it only takes the data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.