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

9
votes
1answer
11k 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
3answers
11k 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
2answers
238 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
562 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
5k 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
238 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
472 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 ...
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
8k 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 fields....
5
votes
2answers
301 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
6k 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
945 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
5k 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
124 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
237 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
1k 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
224 views

Display online users (SPO)

I have a requirement for SharePoint Online users to see what other users are currently online. Is there a way to achieve this with client-side code? Javascript/jQuery?
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
6k 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
7k 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
20 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
3k views

Web Services and Claim Based Authentication Problem

I'm facing some problems accessing by Claim Based to my web service. On my App there's only Claim Based: windows auth is disabled and NTLM also. If I access to Sharepoint by web based interface, this ...
3
votes
1answer
167 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
529 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; clientContext.Load<UserCollection>(users)...
3
votes
3answers
2k 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
2k views

How to find which user last visited a site or recently downloaded a file available on SharePoint?

Is there a way to find who visited the site at last and who downloaded file recently in SharePoint? Also can we log who are the users that used/accessed the file? Can anyone provide some guidance on ...
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
94 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
155 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
84 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 ID="{2B2CA4F1-4F2C-40E9-A4B2-...
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
1answer
59 views

Export user alert list

SP2013, I would like to be able to export a list of everyone who has set an alert on a specific list or library. I can see how to edit specific user's alerts, but I'd like to have the full list of ...
3
votes
0answers
750 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
335 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
5k 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
507 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
408 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
15k 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
10k 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" Name="...
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
224 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
3answers
4k views

SP13 - Cannot add user as farm administrator

As a farm administrator am I not allowed to add an other farm administrator? If I fill in the existing user and hit apply I get following... Sorry, something went wrong An unexpected error has ...
2
votes
1answer
5k 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
1answer
4k views

Grant access to Sharepoint site for a non-domain user

We have two ActiveDirectory separate forests (no trust is established between them). And user from another forest/domain wants to use Sharepoint site (resides on our forest) like we do. I read the ...
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
30 views

RunWithElevatedPrivileges — with/without delegate

Here two methods below that uses SPSecurity.RunWithElevatedPrivileges(). I just want to know the difference between two? Method 1: public void Method1(SPUser user) { if (...
2
votes
1answer
206 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
705 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 ...