C# 클래스 ScrewTurn.Wiki.AdminMaster

상속: System.Web.UI.MasterPage
파일 보기 프로젝트 열기: mono/ScrewTurnWiki 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Page_Load ( object sender, EventArgs e ) : void

비공개 메소드들

메소드 설명
SetupButtons ( ) : void

Sets up the buttons state.

SetupButtonsVisibility ( ) : void

Sets up the buttons visibility based on the current user's permissions.

메소드 상세

CanApproveDraft() 공개 정적인 메소드

Determines whether a user can approve/reject a draft of a page.
public static CanApproveDraft ( System.PageInfo page, string username, string groups ) : bool
page System.PageInfo The page.
username string The username.
groups string The groups.
리턴 bool

CanManageCategories() 공개 정적인 메소드

Determines whether a user can manage categories in at least one namespace.
public static CanManageCategories ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

CanManageConfiguration() 공개 정적인 메소드

Determines whether a user can manage the configuration.
public static CanManageConfiguration ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

CanManageGroups() 공개 정적인 메소드

Determines whether a user can manage user groups.
public static CanManageGroups ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

CanManageNamespaces() 공개 정적인 메소드

Determines whether a user can manage namespaces.
public static CanManageNamespaces ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

CanManagePages() 공개 정적인 메소드

Determines whether a user can manage pages in at least one namespace.
public static CanManagePages ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

CanManagePermissions() 공개 정적인 메소드

Determines whether a user can manage permissions.
public static CanManagePermissions ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

CanManageProviders() 공개 정적인 메소드

Determines whether a user can manage providers.
public static CanManageProviders ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

CanManageSnippetsAndTemplates() 공개 정적인 메소드

Determines whether a user can manage snippets and templates.
public static CanManageSnippetsAndTemplates ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

CanManageUsers() 공개 정적인 메소드

Determines whether a user can manager user accounts.
public static CanManageUsers ( string username, string groups ) : bool
username string The username.
groups string The groups.
리턴 bool

Page_Load() 보호된 메소드

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

RedirectToLoginIfNeeded() 공개 정적인 메소드

Redirects to the login page if needed.
public static RedirectToLoginIfNeeded ( ) : void
리턴 void

프로퍼티 상세

cphAdmin 보호되어 있는 프로퍼티

cphAdmin control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ContentPlaceHolder cphAdmin
리턴 global::System.Web.UI.WebControls.ContentPlaceHolder

frmAdmin 보호되어 있는 프로퍼티

frmAdmin control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm frmAdmin
리턴 global::System.Web.UI.HtmlControls.HtmlForm

head 보호되어 있는 프로퍼티

head control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ContentPlaceHolder head
리턴 global::System.Web.UI.WebControls.ContentPlaceHolder

lblAdminTitle 보호되어 있는 프로퍼티

lblAdminTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblAdminTitle
리턴 global::System.Web.UI.WebControls.Literal

lblBrowserSupport 보호되어 있는 프로퍼티

lblBrowserSupport control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblBrowserSupport
리턴 global::System.Web.UI.WebControls.Label

lblHomeLink 보호되어 있는 프로퍼티

lblHomeLink control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblHomeLink
리턴 global::System.Web.UI.WebControls.Literal

lblJS 보호되어 있는 프로퍼티

lblJS control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblJS
리턴 global::System.Web.UI.WebControls.Literal

lblStrings 보호되어 있는 프로퍼티

lblStrings control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblStrings
리턴 global::System.Web.UI.WebControls.Literal

lnkSelectAccounts 보호되어 있는 프로퍼티

lnkSelectAccounts control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectAccounts
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectAdminHome 보호되어 있는 프로퍼티

lnkSelectAdminHome control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectAdminHome
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectCategories 보호되어 있는 프로퍼티

lnkSelectCategories control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectCategories
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectConfig 보호되어 있는 프로퍼티

lnkSelectConfig control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectConfig
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectContent 보호되어 있는 프로퍼티

lnkSelectContent control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectContent
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectGroups 보호되어 있는 프로퍼티

lnkSelectGroups control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectGroups
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectLog 보호되어 있는 프로퍼티

lnkSelectLog control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectLog
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectNamespaces 보호되어 있는 프로퍼티

lnkSelectNamespaces control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectNamespaces
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectNavPaths 보호되어 있는 프로퍼티

lnkSelectNavPaths control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectNavPaths
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectPages 보호되어 있는 프로퍼티

lnkSelectPages control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectPages
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectProviders 보호되어 있는 프로퍼티

lnkSelectProviders control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectProviders
리턴 global::System.Web.UI.WebControls.HyperLink

lnkSelectSnippets 보호되어 있는 프로퍼티

lnkSelectSnippets control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkSelectSnippets
리턴 global::System.Web.UI.WebControls.HyperLink