Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
605 views

Remove a user account from user info list without being a site collection admin

I am trying to remove a cached user account added in more than 18000 sites. for that I have been trying below PNP script: $displayName = "DisplayNameOfAccountThatNeedTobeRemoved" Get-...
Narinder Chauhan's user avatar
0 votes
3 answers
293 views

Create a new farm user

I have a onpremises sharepoint server 2016 and I want to create a new farm user. If I create a new with the sames permissions that the old farm user have is enough to work? Or I have to set up ...
Pedro Henrique Silva's user avatar
1 vote
1 answer
743 views

How to give External Users Access to Certain SubSites?

I am looking to invite a few accounts from outside my org. But I have 12 SubSites and I want to give them access to only 4 of them. How do I do this? Regards, Simon
Pittsee's user avatar
  • 77
0 votes
1 answer
194 views

Account Permissions for accessing SPFarm, SPWebApplication using Object Model

I am developing a custom Windows Service. Within this Windows Service, I need to loop through all web applications. So I need to use SPFarm.Local from Administration namespace. My intent is to use ...
Ven's user avatar
  • 1,147
1 vote
2 answers
87 views

Sharepoint 2010 user permission issues

In Sharepoint 2010 (on prem deployment), I have created a publishing page which contains a custom list and a few views. I have broken permissions inheritance for this page. There are three users ...
ReubenS's user avatar
  • 11
2 votes
1 answer
53 views

Every User Access Denied in Whole web application

I access whole web application but while, I check Permission in every List message "Sorry, this site hasn't been shared with you." I have Web application Primary admin/Full access rights Tried ...
Amit Koyani's user avatar
7 votes
5 answers
589 views

How can I be logged in in parallel with different user profiles for testing, what users with certain permissions can see in a SharePoint site?

When defining permissions in a SharePoint 2013 site or library I'd often wish to easily test what a users with (only) those permissions can see on this site. So I think I'll have to create some test ...
mBBe's user avatar
  • 1,021
1 vote
1 answer
417 views

SPContext.Current.Web.CurrentUser returns wrong user (Broken user database?)

This code snippet is used to Break Role Inheritance on a Document Library and set the current user as the only user who has "Read" priviliges on that Library: SPUser oUser = SPContext....
spn's user avatar
  • 63
3 votes
3 answers
49 views

How do I clear the user list that the permission checker uses?

I have gone through my site user list and deleted all duplicate entries. However, when I go to the "Check Permissions" page and search for some users, they still show up twice. One entry has no ...
Vicki Fuller's user avatar
1 vote
0 answers
133 views

View user names inside groups WSS 3.0

When I click on users an groups inside WSS 3.0 I just get a "IT Members" entry in the list that pops up. How do I drill down and find out who is exactly in that group? I see no options for listing ...
rigamonk's user avatar
  • 175
0 votes
2 answers
1k views

How to prevent the disabled user accessing the SharePoint resources?

Still now, I thought that disabling user account(on AD as windows authentication is being used) would remove the user access and his profile, which would prevent accessing the SharePoint resources. ...
Karthikeyan's user avatar
  • 2,548
3 votes
1 answer
1k views

Limit number of users in a security group

I've a requirement like there should be only one user with some specific permissions on a given site. We should not allow Admin to add more than one user with those permissions, So I created a group ...
Shekar Reddy's user avatar
  • 1,793
1 vote
1 answer
965 views

Give user write permissions based on meta data tag (s)

Ex: The organisation do not have access to write back to AD Everybody (users) in a organisation have read permission on every document / library / site etc. Based on "something magic" (list / user ...
Plexus81's user avatar
  • 2,250
2 votes
1 answer
10k views

Why I get "Attempted to perform an unauthorized operation" while looping groups users

Could anyone explain me why when I trying to loop user of a group foreach (var u in group.Users){....}, I get the error : Attempted to perform an unauthorized operation. I notice that inside ...
user1200566's user avatar
0 votes
5 answers
29k views

How to hide specific list from user or a group

I have one list called Projects. I want to enable this list to the administrators or project managers. If any other person login to the site, that list should not be appear to that person. Also it ...
Mihir's user avatar
  • 1,546
1 vote
1 answer
365 views

Clone User Permissions for Another User

I have a user that has access highly sensitive information. He is giving a meeting and we want him to use an account that has the exact same permissions as another user. I seem to remember there was a ...
Robert Kaucher's user avatar
2 votes
1 answer
2k views

terminated employee still shows up in user search

From Central Admin > user profile search > Employee not listed (meaning nightly sync took him out) However, went to a site permission and type the terminated employee's user id "tpatel" and SP ...
Bill Baer's user avatar
  • 395
1 vote
3 answers
302 views

Sharepoint User groups

I have a Sharepoint 2010 portal set up with custom user groups like ManagerUserGroup, SubManagerUserGroup etc. When I add any new user to those User groups, that user gets an 'Access denied' error ...
DotNetSeeker's user avatar