3

I feel a bit silly that I can't think of a reliable way to get this information.

Most SPUsers, but not all, now have claims LoginNames. This makes parsing the domain name a little bit tricky. Is there a clear method somewhere that doesn't care whether they are claims or regular domain\username?

I have found the SPClaimProviderManager type, which does help, but I would have thought there would be an easier way to extract this information.

Thanks

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.