Active Directory user properties isimlerini getirmek

29. Ocak 2011
using Microsoft.Office.Server;

using Microsoft.Office.Server.UserProfiles;

using (SPSite site = new SPSite(http://p2010))
{
ServerContext context = ServerContext.GetContext(site);
UserProfileManager u_profmng =
new UserProfileManager(context);
PropertyCollection props = u_profmng.Properties;
foreach (Property prop in props)
{
Console.WriteLine(prop.Name.ToString());
}
}

Bu yazıyı ilk değerlendiren siz olun

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Microsoft SharePoint ,

Yorum ekle


(Gravatar simgesini gösterecek)  

  Country flag

biuquote
  • Yorum
  • Canlı önizleme
Loading