Tag Info

Hot answers tagged

18

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%>" ...


11

'John Smith' should be the 'Display Name' in the AD. This will then be synchronized with user-profile service. Please make sure that your 'user profile synchronization service' is working without errors.


8

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.


8

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


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

User profile service was not running correctly, but some accounts were stuck in companyDomain\jsmith. the following fixes that: Set-SPUser –Identity "domain\jsmith" –DisplayName "John Smith" –Web http://companyDomain.com


5

Take a look at http://spcurrentusers.codeplex.com which may serve as a starting point. It's my solution, in case you're wondering :-) .b


5

Check your web application user policy and see if builtin\administrators have full control.


5

In case any other internet wayfarers come by this problem; it's highly likely that this is due to the app-pool user being given the "Act as system" privilege in the Central Admin User Policy for the webapplication.


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

I believe I've seen this when the first name and last name properties in Active Directory were blank.


4

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 ...


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

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 ...


3

Check your IIS logs for the SharePoint site. By default, IIS logs that information, so if the web server knows the data, it will be in there.


3

Copying the original poster's answer so we can mark this answered: Installing latest MOSS 2007 CU did the trick and all are well. Thanks for your answers


3

You can use the current user object to get the name: SPContext.Current.Web.CurrentUser.Name


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

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

$web = Get-SPWeb URLTOWEB $user = $web.EnsureUser("USERLOGINNAME") $id = $user.ID Now $id will contain the ID of the user


3

In SQL FBA DB we have one column as Locked(I do not remember the name exactly). It is of boolean type and you need to set it false. Then the user will be unlocked.


3

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 ...


3

You can add this script: <script type="text/javascript" language="javascript"> function PreSaveAction() { var elm = document.getElementById("idAttachmentsTable"); if (elm == null || elm.rows.length == 0) { document.getElementById("idAttachmentsRow").style.display='none'; alert("Please attach Documents"); return ...


3

When ever you make a change in AD for one user or all users, You have to run the User Profile Sync Crawl. You can schedule it daily /weekly or what ever. We schedule incremental every night so that all the changes imported from AD to SharePoint.Run Full Profile Import once a month.


3

There's only one account in AD but they end up being treated like two different user profiles within SharePoint. You're on the right track when you mention the claims prefix. Most likely, this site at one point used Classic authentication and was later changed to Claims authentication (or vice versa but moving a site 'backwards' from Claims to Classic ...


2

There's a free web part for changing AD passwords on CodePlex: ChangePassword.codeplex.com. I've used the 2003 version in our MOSS 2007 portal w/o too much issue, looks like this project has updated it to the 2007 APIs. It doesn't look like it does email notifications, but users are shown the days remaining until they need to change their password, and you ...


2

Take a look at Bamboo Solutions Password Managmenet Cycle For SharePoint


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



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