0
votes
1answer
109 views

Add Domain User To The Site With Having Only Email Address

I know that; SPWeb.EnsureUser(string loginName); can be used to add Domain Users with login name, to the site users. But i have a list with only email addresses. How can i add these people to site ...
0
votes
1answer
2k views

How to configure Sharepoint 2010 to get user from multiple domains

I have a farm installed on a machine in domain X. Domain X is "trusted" relation with another domain Y. If I want to programmatically get an user, I can do something like: ...