Sharepoint 2010. How to check and get current zone
-
25-02-2021 - |
Question
Sharepoint central administration contains possibility to configure URL for different zones (Alternate access mappings).
Ex:
Default Zone
Etranet Zone
Can i with some sharepoint API determine and get current zone for user?
Solution
found how to determine current zone:
SPContext.Current.Site.Zone
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow