Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

How to retrieve the values of "Email Notifications" or "Activities I want to share in my newsfeed" fields in edit profile in sharepoint 2013?

$
0
0

I'm tring to pull out all userprofile information using console app in sharepoint 2013. While doing to I was able to pull out values whoes data type is string. But I'm stuck in getting values of fields which has multiple checkboxes, like "Email Notifications" or "Activities I want to share in my newsfeed" fields.

I have tried to use

_profile[PropertyConstant.EmailOptin].Value

This is returing me only integers and not even integer array as multiple options are selected. Also I noticed that if multiple options are selected the integer value varries like 22 or 30

Any help on how to get the values and if possible documentation on sharepoint 2013 will be helpful.


Thanks & Regards, Soumyadev | Posting is provided "AS IS" with no warranties, and confers no rights.


Viewing all articles
Browse latest Browse all 25064

Trending Articles