Browsed by
Month: November 2013

Granting Permissions Based on AD User Group Membership

Granting Permissions Based on AD User Group Membership

After several different trial and error expeditions, I finally have a working PageLoad event to check whether the currently logged in user is a member of a specific group in Active Directory. The first step I used was a stored procedure to get a list of the user’s groups in Active Directory. We needed this for another project and I just reused it for this one. USE [master] GO /****** Object: StoredProcedure [dbo].[GetLdapUserGroups] Script Date: 11/18/2013 11:58:14 ******/ SET ANSI_NULLS…

Read More Read More