Represents a user in Microsoft SharePoint Foundation.

learn more… | top users | synonyms

1
vote
1answer
18 views

Adding users to a Form-based authentication site

I'm using SharePoint Foundation 2013. I have created an Extranet where Active Directory and Form based users could log in (multi mode). I need to add users to this site via a windows service. My ...
0
votes
1answer
26 views

How to give different permission programmatically on Document Library for different group users?

I have document library & 3 groups(AdminGroup,Reviewer,Distributor). I have already give a permission on groups, AdminGroup has Full Control, Reviewer has Reader & Distributor has None : ...
0
votes
1answer
337 views

How to set a UserMulti field via a UserField Control?

I have a list similar to the usual Tasks Sharepoint List and I introduced the field assigned to as a multi user field like this (I have read somewhere that with Mult option should always be set to ...
2
votes
0answers
817 views

How to get SPUser from FBA login name

I have a Form Based Authentication login name login_name how to get an SPUser object for that login name. I have tried the Web.EnsureUser(string.Format("c:0-.f|role|{0}", name)); but it gives me ...
1
vote
0answers
217 views

Get manager of current user in workflow

how can I get the current user's manager's phone information. I select the current user id like this: public Guid workflowId = default(System.Guid); public SPWorkflowActivationProperties ...
0
votes
0answers
66 views

Set-SPUser - not valid user object - 19;#username - powershell

I'm trying to add users to a custom "responsible" group that have the same permissions as owners group. I'm getting member from a list in SP (people and group). $Responsible = ...
0
votes
0answers
84 views

Cannot send Email to Exchange Distribution list

I have this (shortened) piece of code, which does not work like it should and I can not figure out why: SPGroup group = web.SiteGroups["Some Notification Group"]; foreach (SPUser user in group.Users) ...
0
votes
0answers
150 views

Getting a SPUser's title (as it is on Active Directory)

I need to get the Titles (eg: Mr, Mrs, Dr) for SPUsers which are stored in a list. The Title is not available on the SPUser object, is it possible to somehow get this information, assuming it is ...