Development

Here you can found some my personal projects and posts as developer.

Thursday, October 27th, 2011
Wednesday, October 26th, 2011
Monday, June 13th, 2011
Friday, February 11th, 2011
Thursday, March 25th, 2010
Thursday, November 5th, 2009
Saturday, October 24th, 2009
Monday, August 24th, 2009
Thursday, August 20th, 2009
Wednesday, August 12th, 2009
« Older Entries

Anonymous Access SharePoint Application Page

Thursday, October 27th, 2011 by Yuri Panshin

Generally when creating a page in SharePoint it inheritance from LayoutsPageBase, however a public page has to inheritance from UnsecuredLayoutsPageBase and overriding AllowAnonymousAccess property.


public partial class ForgotPassword: UnsecuredLayoutsPageBase

{

    protected override boolAllowAnonymousAccess { get{ return true; } }

 

    protected void Page_Load(objectsender, EventArgs e)

    {

    }

}

0

Email will not be published

Website example

Your Comment:

 

Home Albums Travel Blogs Login

© 2011-2012©Yuri&Viki Panshin