.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

prompt network people but not outside people

Posted By:      Posted Date: September 24, 2010    Points: 0   Category :ASP.Net

Hi, I have a question.aspx page that allows "guests" and "admin" to use. If guest access the page, it says Submit, if admin access it, it says "Approve" on the button control.

My question is, when guest accesses that page, I don't care about their credentials, but when admin accesses that page, I want them to log in first. And the Admin users are the ones that work in our company with the same domain and such. Anyone that access outside would be "guest".. how can I prompt people in the same network when they try to access that page? I need that AD credentials to do some programming in code behind.


View Complete Post

More Related Resource Links

{ End Bracket }: Let My People Code


Charles Petzold discusses why limiting resources can spawn great creativity.

Charles Petzold

MSDN Magazine February 2007

Pulling data from MyProfile page to People & group's list

Hi, Is it possible to pull the data from Profile page, like the email, contact number etc to be displayed in the People & Groups page. Please refer the screenshot for better understanding..

Link to the image: http://img694.imageshack.us/i/pplgrps.png/

What is the best way to create user account for big group of people?


I need to create individual account for a big group of people (around 200) from an Excel spreadsheet. What is the best practice? It will take too much time to create account using web form. I think there must be a way to do it. Please advice. I tried to use Stored procedures created by ASP.NET. NOT SURE whether it is a good idea.


Filter People search

Is it possible to filter people searches?  For example, remove users with a certain last name?

Transact-sql - tricky query to get a list of people from a table where i belong too.

I've no idea how to manage and optimize this query: I've four table. - User (userId, name) - Member (memberId, name, ownerId) The ownerId = user.userId - PresentPeople (activityId, presentId, ...) so presentId = memberId - Activity (activityId, ownerId, startDate...) and ownerId = user.userId So here for an user, I need members created by this user, and for this members I need the list of presentPeople for the activity that theyjoined. But I don't know how to get this list because they are in the list. Not sure if i'm clear there, Big help would be very helpfull :)) thanks

Views for different group of people in form library

I have created a form library with many fields. And I have created 3 views say X,Y and Z for this form library. I have 3 set of User groups say A,B and C. When a person in group A visits this form library,  the view 'X' should appear. Similarly when a person in group 'B' visits this form library the view 'Y' should appear. How can we achieve this.. Any suggestions...

Advanced People Search

Hi All, I'm having a problem with the Advanced People seach webpart, one of the fields under 'Search Options' is Memberships. I have updated it inline with this article http://support.microsoft.com/kb/935196, which now brings back results when searching by using a distribution list name, but I'm still getting no results when searching by a Site Name (as displayed under in the "Memberships" webpart on a mysite) Also is there a way to change the word "Memberships" in the webpart, to something like "Site Memberships"

Get Value of People Picker in Sharepoint

Hi Guys I have One Field called Employee Name with Field type Person or Group and second field UserID with field type is single line of text. Now i enter lets say abc xxy as name as far knowledge i know people picker store value like domain\axxy. I was wondering is there anyway with help of jquery or javascript to get axxy in Userid field once someone enter Employee name Thanks Ron

Authentication for people picker

Hi All, People picker failed to track for the domain user. an error says "No Exact match was found"   I have look into many articles and one of it actually did solved my case. But i do not know what is the logic behind.   My web application's app pool is run under local account. When i try to create a site collection and people picker failed to match with domain user. I changed the app pool account(Identity) to a domain account to run the app pool. Then i try to create site collection, and people picker can match with the domain user. I do not know why. Can please brief me on the logic behind? Possible to trace for the domain user while the web app pool is running under local user account? This is a standalone farm but joined to a domain. Whole farm is using local user account to run the service. Thanks in advance.   Regards Jason  

People Scope has No Items

After upgrading to SharePoint 2010 I have completed the Active Directory import, and I am showing 544 User Profiles, however the People search returns nothing. After importing the profiles, I  completed a full crawl, and the People scope has no items. The People scope is setup as default with Include contentclass = urn:content-class:SPSPeople behaviour. I checked the content source for the indexer, and I have the sps3s://url source listed. Any ideas? Thanks Richard

User display Name & People Picker

Hi, We wanted to use a web application without user profile service. We have added users their display name is always domain\username. Is it that without user profile service display names will not be updated. But my understanding is that people picker also returns display name. Is it something else we need to configure to get the displayname from the people picker itself.Satheesh

People Picker & Replicate Permission

Hi, We have a IT env in a test domain and it is one way trusted to the domain where the actual users are. Recently we have tried adding a new web application for a different domain users (which is again one way trusted). But the people picker in this does not return any result. Does the account which is used for people picker need replication directory permission on that domain. And the ULS log says: (All these are Verbose information) SearchFromGC name = domain2.company.com. start SearchFromGC name = domain2.company.com. returned. Result count = 1 GetAccountNameFromSid "0x010500000000000515000000358A021AB47B733407E53B2BD9260500" start GetAccountNameFromSid "0x010500000000000515000000358A021AB47B733407E53B2BD9260500" returned. returnValue=False ------------------ Can someone help me what could be the issue.  Satheesh

I afraid If 200 people access my system,My system drop.Is it possible?

I would like to develop online test in asp.net mvc 2. I want to connect using "linq to sql" to mssql. 200 people access synchronously to my system. I afraid If 200 people access my system,My system drop. Is it possible? If it is true, How to decide this problem?

Add mobile number to search results in People Finder

Hi, Could someone tell me if it is possible to add content to the People Finder search results, namely the users mobile number. If if is possible could you tell me how or point me in the direction of a how to? ThanksDavid Hodgson Add me on Twitter and LinkedIn www.infinitygroup.co.uk

Group Calendar looses People

Hi, can anyone confirm, that the Group Calendar in the Group Site Template does not remeber the people entered?you can add several people, but after changing to a diffrent list and then switching back only the owner of the site is still on the calendar.Regrads,Oliver Kuhl

hide links in quick launch bar for "People and Groups", "Group", "All People"

Can you tell me how to hide links in quick launch bar for "People and Groups", "Group", "All People"? If a site user click these links all users in site collection will be displayed. (I do want it happends. I only need people for one site only) If you can show me how to display people in one site only would be perfect.

People Picker gets error when selecting user from a trusted domain(one way forest trust)

  Hello all,   Our current setup is SharePoint 2010 Foundation server in one external forest(Trusting forest), and trying to have users in a separate internal forest(Trusted forest) access the site. The external forest's DC and SharePoint server are in a DMZ separated by a firewall with the internal forest's DC and users. A one way transitive forest trust was successfully created and has been validated. On SharePoint, we're ran the sts commands to set the setapppassword as well as the peoplepicker-searchadforests adding the domain that the SharePoint server is in, as well as the trusted forest. An iisreset was issued after running these commands. In SharePoint, we can then search for users from the trusted domain, and select the users in the Select People page, but when hitting the final Ok, an error is received: An unexpected error has occurred in which a correlation ID is provided. Reviewing the SharePoint logs we find the following: <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520081665 -1073717157 41 0 66047 0;} /* Style Defin
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend