Logo 
Search:

Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

C# code for getting existent claims providers in Sharepoint 2010 (like get-spclaimsprovider)

  Asked By: Pablo    Date: Jun 01    Category: Sharepoint 2010    Views: 5980

I’m trying to get the C# code that brings you’re the current installed claims providers.
That would be similar to the Sharepoint 2010 Management Shell command: get-spclaimsprovider
Any clue about that?
Thanks in advance!..
PnP

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Kartik Anand     Answered On: Jun 03

Basically you have to loop through SPTrustedLoginProviders to get Claims Provider using C#.

 




Tagged: