Hot answers tagged

9

"Keyset does not exist" means you need to give your web application pool identity account access to your certificate. Do this in the Certificates Snap In.


7

You need to configure the farm to trust LiveID. Technet has documentation on configuring claims for LiveID http://technet.microsoft.com/en-us/library/ff973117.aspx Edit I have not implemented this myself, so I'm speaking just from knowledge of how I perceive it to work. I don't think you need to edit the _trust/default.aspx page, but implement a custom ...


7

Try: SPFieldUserValue userValue = new SPFieldUserValue(web, item["Created By"].ToString()); string Author = userValue.LookupValue;


6

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


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

YOu need to add the url to IE's Local Intranet Zone on the clients. That way IE will automatically authenticate when visiting that site. The short url is automatically resolved as being part of your local intranet, so will auth. automatically too. I suggest adding *.domain.domainextension to that zone. That way any webapp running in your domain will ...


4

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


4

Do I need to do any configuration at Central Administrator? If you want it just for your personal machine then you shouldn't touch CA. You need to perform some additional steps, e.g. creating a group policy and modifying IE Enhanced Security Configuration. Follow this article out, How do I make our SharePoint site stop asking me to login? – Part I How ...


4

The error message shows the external user hasn’t been authenticated successfully. You can do the following steps to check if the problem persists: Click Site settings > Site permissions > click on any group such as Members group. On the selected group page, note the URL, change the number after the “=” to a “0″, then hit enter. A screen displaying all ...


4

i think your URL is different then MSFT recommended. Please use the below mentioned URL then try it. http://testing:10020/_layouts/closeConnection.aspx?loginasanotheruser=true Read more about it over here


3

DisableLoopBackCheck Regedit -> HKLM->SYSTEM->CurrentControlSet->Control-> LSA Create a DWORD Entry and set the Value data "1" A loopback security check was introduced in Windows Server 2003 Service Pack 1 and it is also present in Windows Server 2008. The loopback security check feature prevents access to a web application using a fully qualified domain ...


3

Hi I had the very same issue after restoring. The accepted solution by user879 to this question seems to help: I can't login to SharePoint 2010, what's wrong? (answer here). You can give it a try, but be aware that disabling the loopback could pose a threat as per the article posted by James in the comment - disable loopback check & sharepoint


3

search cookieHandler in web.config of your webapplication, then add the persistentSessionLifetime property: <cookieHandler mode="Custom" path="/" persistentSessionLifetime="1.0:0:0"> http://msdn.microsoft.com/en-us/library/microsoft.identitymodel.web.configuration.cookiehandlerelement.persistentsessionlifetime.aspx it seams the property just have ...


3

With Firefox you can enable NTLM authentication to specified web addresses, details here. Same with Chrome, details here. With Opera: opera:config -> Network -> Enable NTLM


3

In the end, I didn't use the ASP:Login control. I just designed my own login box with two textboxes. Username and password. My login box, and my change password box are in two panels on the page. One hidden the other not. The person logs in, checks with the database if it is valid and if they need to change their password, if so, hides the login box panel, ...


3

This could work, but only for a given SPWeb: Get-SPUser -Web http://localhost | ForEach-Object { $_.Id }


3

I guess the most easiest way I know is to show it by JavaScript using SPServices. Look to SPServices documentation and examples for getting current user. This way allows to do that without extra server side codding. Sample: var thisUserName = $().SPServices.SPGetCurrentUser({ fieldName: "Title", debug: false }); Then put thisUserName where you need.


3

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


3

To my knowledge there is no direct way to retrieve this easily. Enabling Audit logs is not a good call as it creates a lot of data for nothing, and particularly it is per Site Collection, which leaves the question : "do you enable this for all site collections?" - you are in for a tremendous amount of information - weight that carefully. In the past we've ...


3

I had faced the similar issue when i was working with STS. The reason you get the error is because there is no trust being established between the Sharepoint and STS . If i am not wrong you might be getting the error at the below lines of code :) This is definitely a certificate issue. SecurityTokenService sts = new ...


3

If you maintain MySites in another web application you need to know that pictures are stored in a library User photos in My sites Host, reason for which everywhere where User picture needs to appear (e.g. comments, notes) it makes a separate request to the other Web Application. if the site loading pictures is itself anonymous, you would need to enable ...


3

This can be done by specifying a Return URL in the form URL by providing a value to Source querystring. For example: http://<site>/Announcements/Forms/NewItem.aspx?Source=http://<site>/default.aspx Here when a user clicks on OK button in Announcements New form, the user is redirected to deafult.aspx page rather than the AllItems.aspx page of ...


3

You totally can do this, using external users in SharePoint Online, and there are no licensing fees involved, and it is totally supported by Microsoft. In your tenant administration site, hightlight a site collection and click the "sharing" icon. Then select the button reading "allow users who accept sharing invitations and sign in as authenticated users". ...


3

There is no way you'll ever get access to the users password. (In fact SharePoint don't know it, as Authentication is handles by other components. In fact even these hopefully don't know it, but only have some hash of it). To access anything in the host web you can use the cross-domain library. Login will be handlede automatically. See How to: Access ...


3

This should do the trick SPWeb theSite = Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(Context); SPUser theUser = theSite.CurrentUser; string strUserName = theUser.LoginName.ToLower(); string strUserName = strUserName.IndexOf('|') > -1 ? strUserName.Split('|')[1] : strUserName


3

If you are accessing your site on your server and it is continuously prompting for log-in popup then It can be solved by disabling loopback check. Refer this link: http://www.c-sharpcorner.com/UploadFile/shyjumohan/disable-loop-back-check-in-windows-server-2012/ FYI, Microsoft has introduced a security feature in 2003 Server to prevent attacks on Windows ...


3

From a home/personal Office 365 stand point, yes it would be similar to any other internet service that if your password is compromised, then someone can get into your tenant. However, any business that is using Office 365 is highly likely to be synchronizing objects from local Active Directory to SharePoint, and therefore you are using auth credentials ...


3

You can use FancyBox modal popup that should be only shown one time for each user based on his session. function openFancybox() { setTimeout(function() { $('#yt').trigger('click'); }, 500); }; $(document).ready(function() { var visited = $.cookie('visited'); if (visited == 'yes') { return false; // second page load, cookie active } else { openFancybox();...


2

Steve Peschka had an excellent series of articles on FBA for SharePoint 2007 but I don't think they were updated for 2010. So perhaps a better choice would be this one by Russ Maxwell, this article or this blog entry on TechNet. Otherwise I suggest the following link ;-)


2

You will need to authenticate to each web application you visit. If your main site is http://intranet and your MySite host and personal sites are at http://mysites then going to the user profile (within the MySite Host) or to a personal site would require authentication again. If you are using Windows Auth, then it would be a good idea to configure the ...


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