Property | Type | Description | |
---|---|---|---|
cphAdmin | global::System.Web.UI.WebControls.ContentPlaceHolder | ||
frmAdmin | global::System.Web.UI.HtmlControls.HtmlForm | ||
head | global::System.Web.UI.WebControls.ContentPlaceHolder | ||
lblAdminTitle | global::System.Web.UI.WebControls.Literal | ||
lblBrowserSupport | global::System.Web.UI.WebControls.Label | ||
lblHomeLink | global::System.Web.UI.WebControls.Literal | ||
lblJS | global::System.Web.UI.WebControls.Literal | ||
lblStrings | global::System.Web.UI.WebControls.Literal | ||
lnkSelectAccounts | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectAdminHome | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectCategories | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectConfig | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectContent | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectGroups | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectLog | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectNamespaces | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectNavPaths | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectPages | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectProviders | global::System.Web.UI.WebControls.HyperLink | ||
lnkSelectSnippets | global::System.Web.UI.WebControls.HyperLink |
Method | Description | |
---|---|---|
CanApproveDraft ( System.PageInfo page, string username, string groups ) : bool |
Determines whether a user can approve/reject a draft of a page.
|
|
CanManageCategories ( string username, string groups ) : bool |
Determines whether a user can manage categories in at least one namespace.
|
|
CanManageConfiguration ( string username, string groups ) : bool |
Determines whether a user can manage the configuration.
|
|
CanManageGroups ( string username, string groups ) : bool |
Determines whether a user can manage user groups.
|
|
CanManageNamespaces ( string username, string groups ) : bool |
Determines whether a user can manage namespaces.
|
|
CanManagePages ( string username, string groups ) : bool |
Determines whether a user can manage pages in at least one namespace.
|
|
CanManagePermissions ( string username, string groups ) : bool |
Determines whether a user can manage permissions.
|
|
CanManageProviders ( string username, string groups ) : bool |
Determines whether a user can manage providers.
|
|
CanManageSnippetsAndTemplates ( string username, string groups ) : bool |
Determines whether a user can manage snippets and templates.
|
|
CanManageUsers ( string username, string groups ) : bool |
Determines whether a user can manager user accounts.
|
|
RedirectToLoginIfNeeded ( ) : void |
Redirects to the login page if needed.
|
Method | Description | |
---|---|---|
Page_Load ( object sender, |
Method | Description | |
---|---|---|
SetupButtons ( ) : void |
Sets up the buttons state.
|
|
SetupButtonsVisibility ( ) : void |
Sets up the buttons visibility based on the current user's permissions.
|
public static CanApproveDraft ( System.PageInfo page, string username, string groups ) : bool | ||
page | System.PageInfo | The page. |
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManageCategories ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManageConfiguration ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManageGroups ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManageNamespaces ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManagePages ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManagePermissions ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManageProviders ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManageSnippetsAndTemplates ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
public static CanManageUsers ( string username, string groups ) : bool | ||
username | string | The username. |
groups | string | The groups. |
return | bool |
protected Page_Load ( object sender, |
||
sender | object | |
e | ||
return | void |
public static RedirectToLoginIfNeeded ( ) : void | ||
return | void |
protected global::System.Web.UI.WebControls.ContentPlaceHolder cphAdmin | ||
return | global::System.Web.UI.WebControls.ContentPlaceHolder |
protected global::System.Web.UI.HtmlControls.HtmlForm frmAdmin | ||
return | global::System.Web.UI.HtmlControls.HtmlForm |
protected global::System.Web.UI.WebControls.ContentPlaceHolder head | ||
return | global::System.Web.UI.WebControls.ContentPlaceHolder |
protected global::System.Web.UI.WebControls.Literal lblAdminTitle | ||
return | global::System.Web.UI.WebControls.Literal |
protected global::System.Web.UI.WebControls.Label lblBrowserSupport | ||
return | global::System.Web.UI.WebControls.Label |
protected global::System.Web.UI.WebControls.Literal lblHomeLink | ||
return | global::System.Web.UI.WebControls.Literal |
protected global::System.Web.UI.WebControls.Literal lblJS | ||
return | global::System.Web.UI.WebControls.Literal |
protected global::System.Web.UI.WebControls.Literal lblStrings | ||
return | global::System.Web.UI.WebControls.Literal |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectAccounts | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectAdminHome | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectCategories | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectConfig | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectContent | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectGroups | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectLog | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectNamespaces | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectNavPaths | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectPages | ||
return | global::System.Web.UI.WebControls.HyperLink |
protected global::System.Web.UI.WebControls.HyperLink lnkSelectProviders | ||
return | global::System.Web.UI.WebControls.HyperLink |