惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

博客园 - A A

SharePoint 2013 App 未在此网站上启用应用程序的旁加载 SharePoint Error 查询命令 SharePoint 2013 基于主机头创建站点无法访问 SharePoint 2013 APP 之---很抱歉,应用程序已关闭。如果您知道运行服务器的人员,请告诉他们启用应用程序。 SharePoint服务器修改域和机器名 CAML 多表查询 SPQuery.Joins and ProjectedFields SharePoint 2010 你状态机了吗! SharePoint 文档库打开HTML 直接浏览而不是打开下载对话框 SharePoint Write Logs ECMAScript Client OM(传说中的js客户端编程) - A A 自定义个性化 EditPeople控件 - A A 使用SharePoint Management PowerShell来完成对SharePoint的操作 Developer Dashboard 排忧解难!!! 使用SharePoint 人员选择控件 在 WEB APP开发 - A A SharePoint 在Default 下面添加服务端代码 - A A SharePoint 页面库 使用footer - A A 10分钟搞定 SharePoint 集成FCKEditor 标准项目文档 获取AD用户和OU属性字段名称
User Profile Data Web Part 读取属性字段
A A · 2011-01-05 · via 博客园 - A A

User Profile Data Web Part

 
Property Name Display Name
UserProfile_GUID Id
SID SID
ADGuid Active Directory ID
AccountName 帐户名
FirstName 名字
SPS-PhoneticFirstName 拼音名
LastName 姓氏
SPS-PhoneticLastName 拼音姓
PreferredName 名称
SPS-PhoneticDisplayName 拼音显示姓名
WorkPhone 单位电话
Department 部门
Title 职务
SPS-JobTitle 职务
Manager 经理
AboutMe 描述
PersonalSpace 个人网站
PictureURL 图片
UserName 用户名
QuickLinks 快速链接
WebSite 网站
PublicSiteRedirect 公共网站重定向
SPS-DataSource 数据源
SPS-MemberOf 隶属于
SPS-Dotted-line 非直属经理
SPS-Peers 同级
SPS-Responsibility 专业领域
SPS-SipAddress SIP 地址
SPS-MySiteUpgrade 我的网站升级
SPS-DontSuggestList “不建议”列表
SPS-ProxyAddresses 代理服务器地址
SPS-HireDate 雇用日期
SPS-DisplayOrder 显示顺序
SPS-ClaimID 声明用户标识符
SPS-ClaimProviderID 声明提供程序标识符
SPS-ClaimProviderType 声明提供程序类型
SPS-LastColleagueAdded 上一个添加的同事
SPS-OWAUrl Outlook Web Access URL
SPS-SavedAccountName 保存的帐户名称
SPS-SavedSID 保存的 SID
SPS-ResourceSID 资源林 SID
SPS-ResourceAccountName 资源林帐户名
SPS-ObjectExists 对象已存在
SPS-MasterAccountName 主帐户名
SPS-DistinguishedName 可分辨名称
SPS-SourceObjectDN 源对象可分辨名称
SPS-LastKeywordAdded 最新添加的关键字
WorkEmail 工作电子邮件
CellPhone 移动电话
Fax 传真
HomePhone 住宅电话
Office 办公室
SPS-Location 办公地点
SPS-TimeZone 时区
Assistant 助手
SPS-PastProjects 过去参与的项目
SPS-Skills 技能
SPS-School 学校
SPS-Birthday 生日
SPS-StatusNotes 状态消息
SPS-Interests 兴趣
SPS-EmailOptin 电子邮件通知

Code

 using (SPSite site = new SPSite("http://moss2010/"))
            {
                SPServiceContext context =
                    SPServiceContext.GetContext(site);
                UserProfileManager m_mngr = new UserProfileManager(context);

                //Get the properties
                PropertyCollection props = m_mngr.Properties;

                //Create a Dictionary to store property data.
                Dictionary<string, string> UserProps = new Dictionary<string, string>();

                foreach (Property prop in props)
                {
                    UserProps.Add(prop.Name, prop.DisplayName);
                }
                //Bind the Dictionary to a GridView control.
                GridView1.DataSource = UserProps;
                GridView1.Columns[0].HeaderText = "Property Name";
                GridView1.Columns[1].HeaderText = "Display Name";
                GridView1.DataBind();

            }