A user is an agent, either a human agent (end-user) or software agent, who uses a computer or network service.

learn more… | top users | synonyms

8
votes
3answers
10k views

How to Use ECMA CSOM to Set a Field of Type SPFieldUserValue

I have a JavaScript array containing the string representation of some usernames (domain\username format). Using the JavaScript CSOM, what is the best way to create a new item and add those usernames ...
8
votes
1answer
10k views

CAML query for field of type “Person or Group” which allows multiple selections

Consider a list which has a column of type "Person or Group" (single selection) witch contains a SharePoint group. I want to return all rows for which the group is within a list. I know the IDs of the ...
8
votes
2answers
135 views

Recover/restore deleted user

Is it possible to restore a user who got deleted from our SharePoint recently so I could get to the data that was being shared through his onedrive account?
7
votes
3answers
526 views

Filter out folders from a user alert against a list

I have created an alert for a user against a list (more specifically, a document library). I want the user to be notified of all changes regarding list items (documents) and not any sub folders. ...
7
votes
4answers
4k views

Login takes SHAREPOINT\system Account

When I Open m Web sometimes it Takes "SHAREPOINT\system" Account insted of My Own Account.. Can anyone help me why it is doing like that?
7
votes
1answer
192 views

Efficiently get a collection of all users following a list in SP2013 using CSOM or SSOM?

Does anyone know if there is a way to leverage the SocialFollowingManager() class or the SPList() class to efficiently get a collection of all of the users that follow a specific List? I thought ...
6
votes
2answers
1k views

How to make SharePoint simpler for end users?

We are going to use SharePoint for our intranet. The perception at my office is that SharePoint is too complicated for average users to learn. There are many different ways to do any given task, and ...
6
votes
3answers
7k views

How to access programmatically to Active Directory Properties from an SPUser

I'd like to know how can I do to access to Active Directory information (eg: Department) of an User starting from an SPUser... I've User Profile Service configured and I see in Sharepoint those ...
5
votes
2answers
296 views

User alerts being sent for something that happened before alert was created

I create a web. I create a doc library within this web. Create folders within this doc library. Then 'subscribe' (i.e. create an alert for) a user for this doc library. Why, if I'm doing things in ...
5
votes
2answers
375 views

Get UserData - JavaScript

As seen in the following picture, when I add a User-Filter to a page it allows me to choose the parameter to pass. In my case I used the Büro. How can I retrive this data from client using ...
5
votes
2answers
5k views

SharePoint 2013 get user groups by CSOM

I wrote some code to get the current user groups by CSOM. function getCurrentUser() { this.clientContext = new SP.ClientContext.get_current(); this.oWeb = clientContext.get_web(); ...
5
votes
1answer
7k views

Get current logged user name for user “Account operates as System”

When I'm try to get current logged user name for account domain\username and I added many users to this option "Account operates as System" In code I got the system account not the real name of user ...
5
votes
2answers
571 views

Office 365 test user accounts

I need to have test user accounts to test a custom solution I built on O365 tenant, the tenant I have is only licensed for 1 account, but I would like to have test users to test my work that includes ...
5
votes
2answers
4k views

Is it possible to replace the personal site / MySite with a custom site template in on-premise SP 2013?

We are looking at deploying the SharePoint 2013 personal site/ MySite feature but management wants to change a lot of things that come with the default template. We want to suppress certain features ...
4
votes
2answers
104 views

Create new SharePoint user using SharePoint Online Management Shell

I have a *.sharepoint.com tenant provisioned through singing up for Office 365. Is there a way to create a new user for the tenant using PowerShell (for SharePoint Online)? This would normally be ...
4
votes
1answer
230 views

Tracking User Activity for badges

I'm creating a QA site similar to Stack Overflow on SharePoint. I'd like to be able to integrate some badges into the System. I've thought of a few ideas, but I'd love some divergent thinking on ...
4
votes
1answer
938 views

how to find out when a user last visited?

I'm trying to figure out when a user has last visited.So let's say I logged out of my SharePoint intranet last night at 11PM, and this morning I logged back in at 9AM, I'd like to see a message saying ...
3
votes
2answers
2k views

Check current user in sharepoint group

I need to write a function where I need to check if current user belong to specific sharepoint group. Senario: I have site like ship, logistic etc and sharepoint group like ship site member, logistic ...
3
votes
1answer
5k views

How to get Current logged in user in Provider Hosted App?

How can I get Current Logged in user of SharePoint Site in Provider Hosted App's code behind? I tried this: clientContext.Load(clientContext.Web, web => web.CurrentUser.LoginName); ...
3
votes
1answer
6k views

How to know the GUID of a Database?

I follow this step by step http://technet.microsoft.com/en-us/library/ff681014.aspx for reset the User Profile Synchronization Service but I need the GUID of the synchronization database. I searched a ...
3
votes
1answer
17 views

Removing myself from a SharePoint & access notifications

I started a SharePoint @1 year ago as part of a project. I've moved to a new role however I can't seem to stop the access notifications. I have removed myself as the owner and no longer show up even ...
3
votes
1answer
126 views

SharePoint MySite last modified date - Create CV based on mysite's properties / lists

What's the best way to find out when a property / custom property are changed on a mysite? Can't find any last modified on user properties. We're trying to create CV based on users mysite. We've ...
3
votes
1answer
457 views

Determine “normal” Users from User Collection loaded with CSOM (provider-hosted App)

In my provider-hosted app I load the UserCollection from SharePoint by CSOM (Client Side Object Model), like this: UserCollection users = web.SiteUsers; ...
3
votes
3answers
1k views

Is it possible to create a new User Group subsite level only

Whenever I create a new user group in a subsite, the same user group is getting added at the top level site as well. Is it possible to create a new User Group on the subsite level only, either ...
3
votes
1answer
1k views

User Profile to SharePoint Full Synchronization is missing from the list of timer jobs

'User Profile to SharePoint Full Synchronization' and 'User Profile to SharePoint Quick Synchronization' are missing from my list of available timer jobs. The User Profile Service is configured, Sync ...
3
votes
1answer
31 views

User Does Not Exist or Is Not Unique Error in SelfServiceSiteCreate

I am building a Console application in which I am programmatically trying to create a site collection in a tenant, using SharePoint object model. The code is as follows. But I am getting an error ...
3
votes
1answer
55 views

Missing Personal site url in user profile properties after editing filters in ups connection - mysite - powershell

Something strange has happend in my environment. I've pre-populated 1500 user profiles and everything was ok. After some changes with the connections filters in user profile synchronization connection ...
3
votes
1answer
72 views

NewFormUrl stops user field from saving data

I have a custom content type inheriting from document set. The content type has various # of fields, including two user (e.g. Person or Group) fields. <Field ...
3
votes
1answer
4k views

User's display name “Firstname Lastname” resets to domain\user every day

At least one particular user gets reset every day, display name keeps being set to domain\user format. I have been fixing it by SharePoint 2010 Management Shell, using command: Set-SPUser ...
3
votes
0answers
521 views

What is the negative side of 'Remove-SPUser' in SharePoint 2010?

I may have to cleanup the inactive users, so thought of using the 'Remove-SPUser' cmdlet as below. Remove-SPUser -Identity "demo.net\karthik" -Web http://demo.net/testA/testA1/testA1a -Confirm:$false ...
3
votes
1answer
270 views

Where does SPFolder store it's “Created By” information?

Here's an odd one: I have a content type derived from SPFolder, that I am creating through code. As part of the creation process, I am trying to set the "Created By" information to be the user who ...
2
votes
3answers
4k views

Deny user access to a “Document Library”

I'm using Sahrepoint 2010. I've created many Document Libraries according to how many departments we have in the company and i want to specify access permission to users for viewing and opening ...
2
votes
1answer
482 views

Using Sharepoint Modal

we are implementing a feature in sharepoint where the user can share documents, we are reworking our own UI to make it easier for the end user. We have a modal popup where you can select multiple ...
2
votes
2answers
2k views

Get the current user interacting with a site workflow

I have a SP 2010 state machine Site workflow with lots of custom InfoPath forms. In some cases I need the user that's interacting with the workflow (many users can interact with the Workflow, not ...
2
votes
1answer
265 views

How to only get username

How could i get only the username from my list? Right now my username gets displayed as a string so there are some characters in front the username that should not be there? 18;#Bart Simpsson like ...
2
votes
3answers
12k views

Getting Value from PeoplePicker / PeopleEditor

I'm Trying to create a new formulary in a new Asp page on my sharepoint site. So i need a field that can search all users and select one. I Saw on several forums that the best controls are ...
2
votes
3answers
8k views

Current user in field

Can I set the default user in a user field to the current user -> [Me]? How is it done? The xml I already have is: <Field ID="{F117832D-E722-460C-A083-162C55B701F9}" Type="User" ...
2
votes
1answer
71 views

Is it possible for a User to create a new User bypassing Admin?

In out organization, We have to create lots of new users in various departments. So, I want Head of Department to create their own users and not approach Admin for same. Is such a thing possible?
2
votes
2answers
75 views

Synced user cannot be found - EnsureUser - AD - SharePoint 2013

I've created 1500 mysites (pre-provisioning), but there are 25 user that don't get their mysites. All users can be found after running a sync, but when I try to check for a user with powershell I ...
2
votes
1answer
4k views

CurrentUser.LoginName returns too much information

Say I am logged in as domain\spuser this is what I am expecting in return when I access SPContext.Current.Web.CurrentUser.LoginName, but instead I am getting "i:0#.w|domain\spuser". Anyone know why ...
2
votes
3answers
2k views

Sandboxed Webpart - Is it possible get the current logged in user?

Using standard windows authentication I attempting to get the identity of the logged in user so I can update a value in a list that this webpart is interacting with. I have tried: SPWeb currentWeb = ...
2
votes
1answer
43 views

AssignedTo Column multi users via REST-API

Is it possible to set (Update/Create) 2 users to the AssignedTo column in SharePoint Online? I am using REST-API (JS). When I put one user with: AssignedTo "- 1; #USER@company.com" it works, ...
2
votes
1answer
586 views

How to check if current user belongs to SharePoint group

I have a custom list with a script (JavaScript) allowing me to add some features/customisations to my list. More precisely, I have a function in my script which creates an hyperlink according to a ...
2
votes
1answer
58 views

Grant column-based access in a library - SharePoint 2010

I'd like to grant user permissions to specific documents defined for a given project type. Unfortunately, all documents are lumped into a single Shared Documents library, categorized by a column ...
2
votes
1answer
65 views

PS Script to output members of targetted groups into a file

I have an auditing / documentation requirement around my SP Environment upon which members of specific groups need to be listed. Now, rather than doing this manually via screen-shots and / or cut and ...
2
votes
1answer
4k views

How to grant access to Intranet site to External Users?

Our company recently acquired few small companies. We are in the transition for getting all the files and documentation. I created a "Document Center" site for this project. What is the best way ...
2
votes
2answers
523 views

Elements.xml Id substitution

I have a site column defined in an Elements.xml file in Visual Studio. The SharePoint project this is in does all sorts of initial configuration on the website. I need to set the UserSelectionScope to ...
2
votes
2answers
1k views

Programmatically Add/Remove User to Audience

I've been searching everywhere for information on how to programmatically add a user to an Audience. Is this at all possible? We'd like to set up Audiences as a kind of "Subscription" base where our ...
2
votes
1answer
433 views

How many users can user profile service handle?

I have a question regarding the user profile service. It is more functional question. The question is how many users can the user profile service handle? By this i mean, lets say i have a sharepoint ...
2
votes
1answer
35 views

Lookup column showing up properly when logged in as Full Control user, but not showing up properly when logged in as Contribute user

I have a SharePoint 2010 form with a couple lookup columns. The form looks normal to me with Full Control permissions, and the dropdowns for these items are showing up normally on the form, but ...