SPBosco
asked on
In SharePoint 2010, how do I find a user's Active Directory "Office Location" value using jQuery, XML, scripting or inline code?
In SharePoint 2010, I need to script/create a Case Statement that will return a user's "Office Location" AD field value. Is this possible using jQuery or XML? Perhaps using AJAX.
This is for displaying weather conditions for various locations. I have a jQuery script that will show the weather for a specific city based on a numeric value. Since I know the 18 citiy locations, I want to use a case statement (or something similar) and pass on the correct value depending on the user's AD location information.
I have the User Profile Service Application configured and running correctly.
I would like to get one weather report ( based on the user's location ) like the link below (but just one result) by passing the correct information to a case statement from the user's AD info.
http://www.zazar.net/developers/jquery/zweatherfeed/example.html
This is for displaying weather conditions for various locations. I have a jQuery script that will show the weather for a specific city based on a numeric value. Since I know the 18 citiy locations, I want to use a case statement (or something similar) and pass on the correct value depending on the user's AD location information.
I have the User Profile Service Application configured and running correctly.
I would like to get one weather report ( based on the user's location ) like the link below (but just one result) by passing the correct information to a case statement from the user's AD info.
http://www.zazar.net/developers/jquery/zweatherfeed/example.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER