Tagged Questions
1
vote
3answers
3k views
How to convert string into SPUser?
I have a string "System Account", how can I convert the string into SPUser?
I've tried SPContext.Current.Web.EnsureUser("System Account") and also web.AllUser["System Account"] but hit error.
Please ...
0
votes
1answer
479 views
How to create a SPUser object from its XML representation
I have the following XML representation for a user:
<pc:Person xmlns:pc="http://schemas.microsoft.com/office/infopath/2007/PartnerControls">
<pc:DisplayName>John ...