C# 클래스 ScrewTurn.Wiki.SessionFacade

Exposes in a strongly-typed fashion the Session variables.
파일 보기 프로젝트 열기: mono/ScrewTurnWiki 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetCurrentGroupNames ( ) : string[]

Gets the current group names.

GetCurrentGroups ( ) : UserGroup[]

Gets the current user groups.

GetCurrentUser ( ) : UserInfo

Gets the current user, if any.

GetCurrentUsername ( ) : string

Gets the current username for security checks purposes only.

메소드 상세

GetCurrentGroupNames() 공개 정적인 메소드

Gets the current group names.
public static GetCurrentGroupNames ( ) : string[]
리턴 string[]

GetCurrentGroups() 공개 정적인 메소드

Gets the current user groups.
public static GetCurrentGroups ( ) : UserGroup[]
리턴 UserGroup[]

GetCurrentUser() 공개 정적인 메소드

Gets the current user, if any.
public static GetCurrentUser ( ) : UserInfo
리턴 UserInfo

GetCurrentUsername() 공개 정적인 메소드

Gets the current username for security checks purposes only.
public static GetCurrentUsername ( ) : string
리턴 string