Represents a user in Microsoft SharePoint Foundation.

learn more… | top users | synonyms

0
votes
2answers
481 views

How to grant permission to use specific Application Page in SharePoint

I have custom application page, now what I want to do, is to allow users ( or SPGroup ) to view and use application page. How this should be done ? Currently only administrator can view application ...
-2
votes
2answers
924 views

Ensure User from multiple domain for user that has never access to sharepoint

This is my situation. I have a farm in which an instance of Sharepoint Foundation is installed.. Windows Server is configure to accept users from 3 trusted domain (xxx, yyy and zzz) Suppose i have ...
3
votes
6answers
1k views

Logged in user name in SharePoint 2010

I am trying to retrieve the display name('firstname lastname') of a user who logs in the SharePoint site. When I log into my SharePoint site I could see at the top right --'domain/user name'. So when ...
1
vote
5answers
507 views

Restrict full control user to view a particular page

I have a sharepoint site http://spp/sitepages/page2.aspx I have a group called "Group1" with full control. There are two users "User1" and "User2". So both the users will have full control and both ...
2
votes
2answers
2k views

Adding SPUsers to SPGroups programmatically changes User ID

In a SharePoint Online (Office 365) environment we created a Sandboxed WebPart to put SPUsers in SPGroups. The SPGroup is created on rootlevel and has been given permissions on a subsite. This Subsite ...
0
votes
1answer
662 views

How to create a SPUser object from its XML representation

I have the following XML representation for a user: <pc:Person xmlns:pc="http://schemas.microsoft.com/office/infopath/2007/PartnerControls"> <pc:DisplayName>John ...
5
votes
1answer
836 views

How to remove “orphaned” users from a site collection?

We recently performed a domain migration where we migrated several forests and domains into a single domain. From speaking to the AD admins, this was done using a tool from Quest and it maintained SID ...
0
votes
1answer
1k views

Get all users from active directory to sharepoint

I have to populate my autocomplete PeopleEditor-like control based on brililant ASPTokenInput with all people from my AD domain. Reflecting PeopleEditor shows a real mess in their Active Directory ...
0
votes
2answers
918 views

Inherit field editor control from SPUserField

I need to implement AutoComplete feature for People Editor in custom field type derived from SPUserField. To do this, I have to customize both render template and field editor control (and other ...
0
votes
1answer
5k views

Add users to SP Group

I am using following PS script to add users from a text file. Some of the users in the text file are inactive or gone (basically can't be resolved). The error message from the catch block is executed ...
5
votes
1answer
447 views

Custom Web Service not cannot find User

I have created a Custom Web Service for my .NET application that performs various functions against a Sharepoint 2010 site. I use a standard function to run each function as an impersonated user (so ...
9
votes
2answers
11k views

How do I convert SPUser to SPFieldUser?

I have a field in a list that accepts an SPFieldUser object. I have an SPUser object that I would like to populate that field with, but I cannot implicitly convert from one to the other. How would I ...
1
vote
1answer
2k views

How to map Claims to SPUser object?

I have SharePoint 2010 with Claims Authentication (SAML / AD FS v2). I have made an incoming mapping for UPN, Role, CommonName. I want to show the user's "DisplayName" in the right corner (the Name on ...