Quantcast
Channel: Active questions tagged adfs - SharePoint Stack Exchange
Viewing all articles
Browse latest Browse all 36

Using EnsureUser with ADFS

$
0
0

I am trying to take some users and author them to list item posts. The SPWeb.EnsureUser() method works fine on a server only utilizing AD, but not one that is using ADFS.

Here is my attempt at checking users against ADFS.

//<Claim>|<Claim Issuer>|<Value>SPUser user = web.EnsureUser("i:05.t|myIssuer|someone@domain.com");

Please keep in mind that someone@domain.com exists in AD, but has not necessarily logged into SharePoint.

Is this of correct format? Is there somewhere I can pull <Claim> and <Claim Issuer> so I can ensure I am using the correct providers?


Viewing all articles
Browse latest Browse all 36

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>