Results 1 to 2 of 2

Thread: Retrieve membership using TSQL

  1. #1
    Pierre Van der Steichel Guest

    Retrieve membership using TSQL


    Hi,

    Pretty new at SQL server.
    Is it possible to retrieve role membership for a user using SQL or TSQL and what privileges weill that require.

    I did the same thing using SQLDMO but not an acceptable solution
    for current requirement (additional granularity in a profiling service)

    Any help will be appreciated,

    Pierre

  2. #2
    Guest

    Retrieve membership using TSQL (reply)


    See sp_helprolemember in your documentation

    ------------
    Pierre Van der Steichel at 6/8/01 9:04:55 AM


    Hi,

    Pretty new at SQL server.
    Is it possible to retrieve role membership for a user using SQL or TSQL and what privileges weill that require.

    I did the same thing using SQLDMO but not an acceptable solution
    for current requirement (additional granularity in a profiling service)

    Any help will be appreciated,

    Pierre

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •