Results 1 to 6 of 6

Thread: Getting NTFS Group membership

  1. #1
    Join Date
    Sep 2004
    Location
    Poland
    Posts
    22

    Getting NTFS Group membership

    Hi,
    Permissions were granted to sql users based on their groups in the domain - that is groups were added as sql users rather than the login names.
    Is there any way I can determine the group a user belongs on login to sql server?. I need to develop an interface that enables relevant menu to relevant groups.

    Thanks,

    Victor

  2. #2
    Join Date
    Feb 2003
    Posts
    1,048
    Try "Select SUSER_SNAME()"

  3. #3
    Join Date
    Sep 2004
    Location
    Poland
    Posts
    22
    Thanks for your reply.
    What I meant is that after extracting login name from SELECT SYSTEM_USER I need to determine to which NT group the user belongs .....

    Victor

  4. #4
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  5. #5
    Join Date
    Sep 2002
    Posts
    5,938
    And you can't get windows group membership for standard sql logins.

  6. #6
    Join Date
    Sep 2004
    Location
    Poland
    Posts
    22
    Thank you all for your replies

Posting Permissions

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