Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. access permissions

access permissions

Scheduled Pinned Locked Moved Database
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ranjjj
    wrote on last edited by
    #1

    ListObjectPermissions what does the above mention statement do?? can i use this to get the access permissions of a user? ranjani

    R 1 Reply Last reply
    0
    • R ranjjj

      ListObjectPermissions what does the above mention statement do?? can i use this to get the access permissions of a user? ranjani

      R Offline
      R Offline
      ranjjj
      wrote on last edited by
      #2

      ListUserPermissions what does this method do.. does this tell me the user access perm for a particular database? ranjani

      J 1 Reply Last reply
      0
      • R ranjjj

        ListUserPermissions what does this method do.. does this tell me the user access perm for a particular database? ranjani

        J Offline
        J Offline
        Jeff Varszegi
        wrote on last edited by
        #3

        Ranjani, You post messages pretty often. Why don't you sign up as a user? Just wondering. Basically, the way SQL Server permissions go, you have permissions as the result of being a member of a Windows group or role, right? (When I speak of permissions, I also mean that you can be denied access to something.) Then on top of these group-related permissions, you can be explicitly granted or denied extra permissions. These are usually granted/denied/revoked using the GRANT, REVOKE, and DENY statements in Transact-SQL, since most admin types use Transact-SQL to script this stuff up. The ListUserPermissions method lists the permissions of the second type: special added-on permissions granted specially for a specific user. It won't include permissions that a user has through inclusion in a role, for instance, so be careful. Also, you should realize that the Permission object can represent the fact that a user is denied access to something-- check out the Granted property. Hope this helps. Regards, Jeff Varszegi

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups