How can I get the SPUser object associated to the prof开发者_Go百科ile from the SocialProfile in Sharepoint 2010?
We can get the roles of an SPUser by SPUser.Roles.But it will return SPRoleCollection. If we want to list all the roles we need to loop that.
I need to retrieve all SPUser\'s from a SPGroup. Unfortunately, the group may contain Active Directory groups, so a simple SPG开发者_开发技巧roup.Users is not enough (I\'d just get a single SPUser for
烟 关喆 专辑:寂寞 语种:国语 流派:Pop 唱片公司:华纳唱片 发行时间:2014-08-29