Represents a user in Microsoft SharePoint Foundation.

learn more… | top users | synonyms

0
votes
2answers
19 views

Creating Array “get_users” returns Array with Null or Undefined Value

I'm pulling user data, saving that to an array, and then using that array to pull in additional values from PeopleManager. The problem is (at least so far) my array has a blank value in it that I can'...
1
vote
1answer
27 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
46 views

SiteUsers.GetByEmail() returns user not found error

I have a custom webpart in which I get the SPUser object from email address, see the code below. It was working fine for like an year now , but since yesterday it gives a "User cannot be found" error. ...
0
votes
1answer
161 views

Using EnsureUser with ADFS

I am trying to take some users and author them to list item posts. The SPWeb.EnsureUser() method works fine on a server only utilizing AD, but not one that is using ADFS. Here is my attempt at ...
0
votes
1answer
259 views

how to remove user from sharepoint Farm

I want to remove a user from SharePoint from all Web applications in SharePoint Farm. Like the user has never existed! is ti possible? I see there many users that don't exists in AD anymore. But I ...
3
votes
0answers
1k 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
15 views

Issue regarding string representation of SPUser object in SharePoint 2013

I am facing an issue in SharePoint 2013 regarding string representation of SPUser object. I am migrating my SharePoint site from SharePoint 2010 platform to SharePoint 2013 platform. I have a code, ...
1
vote
0answers
309 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
27 views

Get Multi user value from another list in infopath

Could anybody please help me to resolve this issue? I've designed an InfoPath form, with some controls. I have a second list which has the values like this If the current user trying to see a saved ...
0
votes
0answers
25 views

ADD user to group : Acces Denied in runwithElevated (UserAccountDirectoryPath restriction)

Hello I have a problem for adding users to a group in SharePoint 2010 I have a restriction of Users OU path (Active Directory) with the SPSite.UserAccountDirectoryPath on my SPSite. Programmatically ...
0
votes
0answers
273 views

The specified user could not be found." with EnsureUser with Powershell

I was trying to get a user with EnsureUser to make sure that if the user doesn't exists on the site collection, it is added right away. Write-Host "LoginName" $usernameau #this prints mydomain/...
0
votes
0answers
268 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
283 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 ...