-
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
-
Try "Select SUSER_SNAME()"
-
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
-
you have to query Active Directory.
-
And you can't get windows group membership for standard sql logins.
-
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
-
Forum Rules
|
|