Hello all,
I have an application where 2 groups of people need to access the same data, but edit different subsets of it. For instance, Group A can edit Layer 1 and 2, but Group B can only edit Layer 3. However, both groups need to be able to read all 3 Layers.
Editing is done through an EditorWidget, but the list of editable layers is determined by the usergoups.
Before migrating to Server 10.2, we checked usernames against a custom usergroup on our Web Server and built the editable list off of that, but in our 10.2 Server is going to be on a different server, so this will not really be an option for us.
How can I determine which group is currently accessing my application so that I can determine which layers are editable? I'm assuming it has something to do with the FeatureLayer_Initialized event. Right now, I've created both Roles on the Server and assigned both of the to the service. I need to be able to determine which of the Roles allowed the Layer to Initialize. If I can determine that, I can build my editable layer list from there.
Any ideas?
Thanks,
Will