How to use
See
How to use ArcGIS samples
for help on compiling, setting up the debugger, and running the sample.
- Deploy LayerAccessSOI.soe to your server (or your own modified version if you have changed the path for the permission.json file).
- Enable the SOI on a map service.
- Disable caching of layer resources in the ArcGIS Server REST handler.
- Consume the service using different users.
- Note how certain layers are only visible when the request is authenticated and matches the permissions defined in permission.json.
NetLayerAccessSOI\NetLayerAccessSOI.cs |
Core SOI implementation for REST web service. |
NetLayerAccessSOI\bin\Debug\NetLayerAccessSOI.soe |
The deployable SOE file |
ServerLayerAccessSOI\permission.json |
|
Download the
C# files