• Not Answered

How to get user roles


I have try to get logged in Users role with the help of this page detail : http://telligent.com/community/developers/w/developer6/20564.aspx.

But when execute this below lines with my userid-

var requestUrl = "XYZ.com/api.ashx/v2/roles/permissions/user/{userid}.xml (or .json)

var xml = webClient.DownloadString(requestUrl);

it throws error- "Unable to connect to the remote server"

can anyone please help me to sort it out.


Parimal Patel

4 Replies