Tag Info

Hot answers tagged

15

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


10

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


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


7

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


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

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


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

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


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

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


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

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.


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


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

Oh dear, this seems a classic case of RTFM. Go to the group, as in the page where the members are listed, and go to Settings>View Group Permissions.


2

Even though users are from active directory, SharePoint stores these information seperately in a list called User Information List which will be available in the site.


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

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

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



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