SPWeb.AllowDesignerForCurrentUser property
SharePoint 2013
Gets a Boolean value that specifies whether the current user is allowed to use the designer for this website. The default value is false.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)