This topic is locked

Dynamically Using Active Directory Groups

3/12/2014 2:04:55 PM
ASPRunner.NET General questions
M
Mike Nagel author

I'm converting an ASPRunner application to Enterprise 8.1. The old application uses Dynamic security groups to specify ownership of records. If a person is in a group, they can edit a record that was created by another person in the same group but can only view a record created by another group. I'm trying to enable Active Directory groups and am having some trouble:
I can enter an AD group into security_uggroups and ensure that the user entries in security_ugmembers reference the GroupID. I then make sure that the records that should be editable in the data table have the Group_ID referenced in the appropriate field. For instance:
security_uggroups.groupid = 10

security_ugmembers.groupid = 10

security_ugrights.groupid = 10 and security_ugrights.accessmask = AEDS

tbl_data.groupid = 10
But when I log in as a member of the group, I cannot edit the record (there's no edit icon displayed). What am I missing?
Thanks!

T
Tim 3/27/2014

Are you sure that user is a direct member of that AD group (not through nested groups)?
I am an ASPRunner "classic" user, not .Net (although i'm looking to switch) and in that app you can turn debug mode on and see the query that shows what groups the user is a member of. To turn on debug: include/appsettings.asp > dDebug = true. I'm not sure if that same this exists in ASPR.Net.
Tim