Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ctx = authManager.GetWebLoginClientContext("https://MYSITEURL");
- //using auto connect
- Web web = ctx.Web;
- User user = web.CurrentUser;
- ctx.Load(web);
- ctx.Load(user);
- //ctx.ExecuteQuery();
- ctx.ExecuteQuery();
- ViewBag.Site += web.Title;
Add Comment
Please, Sign In to add comment