RE: help! report users permission on a SQL 2000 server

From: Fany Vargas [MSFT] (fanyv_at_online.microsoft.com)
Date: 11/28/04

  • Next message: Fany Vargas [MSFT]: "RE: help! report users permission on a SQL 2000 server"
    Date: Sun, 28 Nov 2004 03:10:54 GMT
    
    

    Look into the PERMISSIONS function. It returns a value containing a bitmap
    that indicates the statement, object, or column permissions for the current
    user. So you can run something like:

    SELECT PERMISSIONS(OBJECT_ID('nameofobject'))

    For details on how to decipher the bitmap you will need to reference BOL
    article: "PERMISSIONS"
    (mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%20Server\80\Tools\Books\ts
    qlref.chm::/ts_pa-pz_6f78.htm) - in BOL, select Go->Url...

    Fany Vargas
    Microsoft Corporation
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Are you secure? For information about the Strategic Technology Protection
    Program and to order your FREE Security Tool Kit, please visit
    http://www.microsoft.com/security.

    Microsoft highly recommends that users with Internet access update their
    Microsoft software to better protect against viruses and security
    vulnerabilities. The easiest way to do this is to visit the following
    websites:
    http://www.microsoft.com/protect
    http://www.microsoft.com/security/guidance/default.mspx


  • Next message: Fany Vargas [MSFT]: "RE: help! report users permission on a SQL 2000 server"

    Relevant Pages

    • Re: call sp_MSmakegeneration (?)
      ... sp_addserver (execute permissions?)? ... For information about the Strategic Technology Protection ... Program and to order your FREE Security Tool Kit, ... Microsoft highly recommends that users with Internet access update their ...
      (microsoft.public.sqlserver.replication)
    • Re: MDAC and SBS2003 SP1
      ... the issue may be caused by permissions. ... Microsoft Management Console program, ... Component Checker utility has been redesigned to provide XML support. ... installation issues with the Microsoft Data Access Components (MDAC). ...
      (microsoft.public.windows.server.sbs)
    • Re: RAS/VPN problems
      ... Right click RemoteAccess, select Permissions. ... System and Network Service have Full ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
      (microsoft.public.windows.server.sbs)
    • RE: no OWA
      ... have the correct permissions was the "inetpub" folder. ... Correct the settings in IIS: ... click to check the "Hide All Microsoft Services" ...
      (microsoft.public.windows.server.sbs)
    • Re: Minimum NTFS Permissions - Theres such a thing???
      ... ?2001 Microsoft Corporation. ... HOW TO: Set Minimum NTFS Permissions Required for IIS 5.0 to Work WGID:198 ... " List Folder Contents" ...
      (microsoft.public.inetserver.iis.security)