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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

What Is the use of SPWeb.EnsureUser in sharePoint?

Posted By :Amit Mehra     Posted Date :January 31, 2010    Points :10   Category :SharePoint 
It Checks whether the specified login name belongs to a valid user of the Web site, and if the login name does not already exist, adds it to the Web site.

You can also find related Interview Question to What Is the use of SPWeb.EnsureUser in sharePoint?  below: 

When to dispose SPWeb and SPSite objects sharepoint?

  
You should always dispose SPWeb and SPSite objects in sharepoint if you created them yourself, otherwise not. (More...)

What does SPWeb.EnsureUser method do?

  
Checks whether the specified login name belongs to a valid user of the Web site, and if the login name does not already exist, adds it to the Web site.
e.g SPUser usr = myWeb.EnsureUser("hitenders"); (More...)

What is Sharepoint?

  
Sharepoint is a Portal Collaboration Software provided by Microsoft , That can be configured to run Intranet, Extranet and Internet sites (More...)

What is the difference between SharePoint Portal Server and Windows SharePoint Services?

  
SharePoint Portal Server is the global portal offering features like global navigation and searching.Windows SharePoint Services is more content management based with document libraries and lists. You apply information to certain areas within your portal from windows share point Services or directly to portal areas. (More...)

What is a document library in SharePoint?

  
A document library in SharePoint is where you upload your main or core documents. Document Library is consist of a row and column view with links to the documents, When the document is updated and so is the link is created on your site. You can also track metadata of your documents. Meta data in SharePoint is consisting of document properties. (More...)

What is a meeting workspace in SharePoint?

  
A meeting workspace in SharePoint is a place to store information, attendees, and tasks related to a specific meeting. (More...)

What is a document workspace in SharePoint?

  
Document workspaces in SharePoint consist of information surrounding a single or multiple documents. (More...)

What is the difference between a document library and a form library in SharePoint?

  
Document libraries in SharePoint consist of your main/core documents. For example a word document, excel, PowerPoint, Visio, pdf, csv, notepad etc. Form libraries consist of XML forms. (More...)

What is a web part zone in SharePoint?

  
Web part zones in SharePont are what your web parts reside in and help categorize your web parts when designing a page. (More...)

How is security managed in SharePoint?

  
Security can in SharePoint be handled at the machine, domain, or SharePoint level. (More...)

How are web parts developed in SharePoint?

  
Web parts are developed in Visual Studio .Net. VS.Net offers many web part for SharePoint and page templates and can also be downloaded from the Microsoft Site and the link is.

http://technet.microsoft.com/en-us/windowsserver/sharepoint/bb407286.aspx (More...)

What is a site definition in SharePoint?

  
A site definition is a methods in SharePoint for providing pre packaged site and list content. (More...)

What is a template in SharePoint?

  
A template is a pre-defined set of functions or settings that can be used over time. There are many templates within SharePoint software itself, Site Templates, Document Templates, Document Library and List Templates.
You can download More SharePoint templates from Microsoft site and the link is

http://technet.microsoft.com/en-us/windowsserver/sharepoint/bb407286.aspx (More...)

how do you install web parts In SharePoint?

  
to install web parts In SharePoint Web Parts should be distributed as a .CAB (cabinet) file using the MSI Installer. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


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