Tag Info

Hot answers tagged

14

Here is Microsoft solution: http://support.microsoft.com/kb/2752600 Basically, start the browser as a different user. Another solution (but dirty) is to edit the Welcome.aspx file and add a control: <SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser" Text="<%$Resources:wss,personalactions_loginasdifferentuser%>" ...


7

Your issue is related to access to Configuration Database. Please follow the link for details - http://blog.falchionconsulting.com/index.php/2009/07/custom-sharepoint-2007-site-collection-creation-page/. It describes the same issues with creation of site collection and possible solutions and also touches Timer Job.


7

If the user had two accounts, you should check which account the user should be using and then use Move-SPUser PowerShell command for SharePoint 2010 to migrate the old user to the new one. Move-SPUser –Identity "DOMAIN\JaneDoe" –NewAlias "Domain\JaneSmith" More information on the PowerShell command is available here: ...


6

You can try this if I understand you correct? Microsoft.SharePoint.SPContext.Current.Web.CurrentUser.LoginName; or HttpContext.Current.User.Identity.Name and Microsoft.SharePoint.SPContext.Current.Web.CurrentUser.ID; hope this helps :)


5

There is a free tool from Pointbird that will give you this functionality, or you could just add a custom action that adds a link to "/_layouts/closeConnection.aspx?loginasanotheruser=true" http://pointbird.com/products/pointbird-sign-in-as-different-user/ http://www.cwheeler76.com/Lists/Posts/Post.aspx?ID=2


4

Here is an article I wrote a while back to pull together resources for supporting multiple domains. http://www.mikeoryszak.com/sharepoint/supporting-multiple-active-directory-domains


4

You can use SPContext within a "RunWithElevatedPrivileges" block, but objects you get from "SPContext" such as: SPUser, SPWeb, etc. are not running in elevated privilege, they just take the current user security context. So why not just use "scweb" to get to the "Group". Since "scweb" object is initialized within the "RunWithElevatedPrivileges" block just ...


3

Log Parsing or web analytics in general will give you good historical info, but generally not good real-time information. Querying the content database should absolutely not be done. Microsoft says that doing so will void any warranty or support. Anyone that has poked around with SharePoint enough will know that trying it absolutely does create problems ...


3

I recommend you to read this and this blog posts. I am not sure about SP 2007, but in SP 2010 there is a property RemoteAdministratorAccessDenied (msdn page is not full of information, it's a pity). If this property setup to true, you can only update service from Central Admin pages, and if account, under code running has appropriate permissions. As blog ...


3

Users are stored on User Profile Service(UPS) and in User Information List. Users get stored on the User Profile Service when you do a UPS sync which imports user profiles from Active Directory. Normally, this is how it's setup. You can add, update, or delete the user profiles manually. Users get stored on the User Information List only when they access ...


3

I would change the password of the site collection admin account and give the developers full control access to the site collection and/or list them as site collection administrators. That will nip the sharing in the bud and more than likely resolve this issue. As to why it's happening, I'm not entirely sure. Do any network tools give you any insight like ...


2

I'm not aware of any free 2010 web parts for AD...lots for fee. I've used this one in 2007, but not in 2010: http://changepassword.codeplex.com. The following discussion thread seems to indicate success implementing it with 2010: http://changepassword.codeplex.com/discussions/219795


2

It seems that sharepoint gets this fields from one of the list view for user information list (Detail View I guess, I can't verify it exactly, because I always redirected to my host site). But you can check it: var list = web.Lists["User Information List"]; var view = list.Views["Detail View"]; for (int i = 0; i < view.ViewFields.Count; i++) { var ...


2

You have to assign your group permissions to allow your users access to the site. You can set permission levels like readers, contributors or full control (among others) which will decide what users of the group will have access to. You can also setup site groups to decide which groups will be the owner/member/visitor groups, under site permissions.


2

I'd advice you do a syn on Central Admin again and see if that still remain the same. Yes, sharepoint does have a service profile called User Profile Service Application and once this has been created and running, you can basically do a syn of your AD users. This I think, import users from AD into a User Profile database. So I assume, the reason why you ...


2

This is not something that's possible OOTB. Even with FBA, you'll need additional code (codeplex has a great one) to create the accounts in the FBA store. You could build a request page for which would allow anonymous users access to request a login, specifying their user name.


2

Two things are absolutely critical with UPS... permissions, and doing the configuration in the right order. Spence Harbar has the 'gold standard' guide on how to setup UPS... follow it to the letter. Remember that when FIM is provisioned, it does so under the farm account, but the service should execute as another identity, and the synchronization as a ...


2

I'm not sure this will work, but I would try this: public override void FeatureActivated(SPFeatureReceiverProperties properties) { //Get webapplication SPWebApplication webApplication = properties.Feature.Parent as SPWebApplication; //Get current user from any sitecollection and rootweb SPUser user = ...


2

here is the step by step: Review the import logs, see if it is really getting all the data from the profiles (and check in AD if the user that has no Org Chart on his profile if he has a Manager or not, or if he has more/less data than the other users.) If there is trouble importing information from AD, you account connecting to AD might not have access to ...


2

Thought it wouldn't be advisable to have multiple people using the same login, there isn't any limits specifically to the number of concurrent connections per username. For capacity planning, treat each individual connection as unique when determining the number of users you need to support. So, if 3000 people are using the same account, plan for 3000 ...


2

You can use the Get-SPUser command to list all users in the site collection if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) { Add-PSSnapin "Microsoft.SharePoint.PowerShell" } Get-SPUser -Web http://mysite/sitecollection/ -Limit ALL | ft -auto


2

When updating usernames, I preprend the username with a "-1;#" and that seems to work - This indicates to me, the format of the username column is expecting an ID but by putting in the -1, it seems to be happy with that and puts it in properly. YMMV <Field Name="PeopleColumn">-1;#MyAccname</Field>


2

You can use spweb.ensureuser Ensure user checks whether the specified logon name belongs to a valid user of the website, and if the logon name does not already exist, adds it to the website. MSDN Ensureuser


2

It's all about the Principle of Least Access. For one thing, you pretty much never want to force your farm account to change passwords every X amount of time because that farm account is used for a ton of internal processes ranging from deciding to run timer jobs on your various servers to (at least prior to 2013) getting permission to crawl over your user ...


2

Create a bookmarklet that points to : URL=javascript:window.location = _spPageContextInfo.webServerRelativeUrl.replace(/\/$/, "") + "/_layouts/closeConnection.aspx?loginasanotheruser=true" As something you deploy to your browser, rather than your site, it approaches the problem from the other direction. But honestly, most of your users won't need this ...


2

Edit Welcome.aspx file in this address : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\ 15\TEMPLATE\CONTROLTEMPLATES And then after tag with Id ID_RequestAccess most add this Tag : <SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser" ...


2

Your question is about multiple requirements:- I need to change my current user in my SharePoint site. How can I change my current user? How can I add sub menu (sign in as different user) to my menu ? So, here there are 3 solutions:- 1. Launch your web browser as another user For IE --> Navigate to C:\Program Files (x86)\Internet Explorer ...


1

I have noticed that you have done this: http://support.microsoft.com/kb/934838/en-gb but have you also done an IISreset? All the machines on the farm would also need to change and once that is complete top it off with an IISreset When you make the change you can verify it by going to services, sort until you see Microsoft SharePoint and then look at the ...


1

I'm a big fan of UPS, but that's because of its social aspects and features you can enable with my sites. There is something nice about dynamically generated org charts, the ability to follow people, and having a central store of profile info rather that having to rely on the user information list. It's also nice to be able to push some of the user ...



Only top voted, non community-wiki answers of a minimum length are eligible