none
sharepoint 2010 silverlight RRS feed

  • Pergunta

  • Hello Experts,

     

    I dont know if this this the right forum for this question, but I need some help concerning Silverlight hosted inside sharepoint 2010.

    I'm using ClientContext (from sharepoint client api) to try to get the logged user inside sharepoint. Something like:

     

    ClientContext.Current.Web.CurrentUser.LoginName

    Along some time, it worked, then it has stopped working and the LoginName doesnt have any value. I've tried to ask silverlight it it knows its running inside a browser, with success, but somehow Sharepoint or any sharepoint configuration blocks the ClientContext.Current to get the logged user. 

    The ClientContext.Current returns the correct URL. 

    PS: Its a farm and the site its an Intranet with https.

     

    thanks,

    José Cruz

    segunda-feira, 11 de julho de 2011 10:47