asp.net - login to the SharePoint 2013 using c# -


is way login sharepoint 2013 using c# code , token of sharepoint 2013, if yes how can do? means user put username , password client side , auth window auth configured on sharepoint 2013 in case please specify sharepoint 2013 config also

now created api in mvc , it's working netwrokcredential class available in c# not getting token sharepoint

you can use client side object model create context credentials.

using (clientcontext context = new clientcontext("http://site_url/")) {     context.credentials = new networkcredential("user_login", "user_password", "domain");     list list = context.web.lists.getbytitle("my list");     context.load(list);     context.executequery();     console.writeline(list.id);     console.readkey(); } 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -