sitecore5.2

How can I login programmatically into Sitecore?

久未见 提交于 2019-11-28 04:43:18
问题 How can I login programmatically into Sitecore? For example if you would like to connect a small part of the Sitecore API to a desktop application, you would need to login into sitecore first to access the databases etc. Can this be done? 回答1: As Mark said, you will need to create a web service that your desktop app will talk to. If you need to deal with permissions in that service you have two options. Use a SecurityDisabler to make your webservice run in the context of an Admin user. using