You need to check whether a specified login name belongs to a valid user of the Web site, and if the login name does not already exist, you need to add it to the Web site. Which of the following methods would you use to perform these actions?

Question:You need to check whether a specified login name belongs to a valid user of the Web site, and if the login name does not already exist, you need to add it to the Web site. Which of the following methods would you use to perform these actions?

1.SPWeb.EnsureUser

2.SPWeb.IsUserExist

3.SPWeb.CheckUser

4.SPSite.EnsureUser


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!