C# 클래스 WikiFunctions.API.UserInfo

Information about a user
파일 보기 프로젝트 열기: reedy/AutoWikiBrowser 1 사용 예제들

공개 메소드들

메소드 설명
CanCreatePage ( WikiFunctions.API.PageInfo page ) : bool

Returns whether the user can create the page based on group/edit rights

CanDeletePage ( WikiFunctions.API.PageInfo page ) : bool

Returns whether the user can delete the page based on group/edit rights Examples: sysop, eliminator groups should be able to delete pages

CanEditPage ( WikiFunctions.API.PageInfo page ) : bool

CanMovePage ( WikiFunctions.API.PageInfo page ) : bool

HasRight ( string right ) : bool

IsInGroup ( string group ) : bool

비공개 메소드들

메소드 설명
Update ( XmlDocument xml ) : void

Updates the information about the current user

UserInfo ( ) : System.Collections.Generic

Creates a UserInfo object for an unregistered user

UserInfo ( XmlDocument xml ) : System.Collections.Generic

Creates a UserInfo class from an meta=userinfo XML

메소드 상세

CanCreatePage() 공개 메소드

Returns whether the user can create the page based on group/edit rights
public CanCreatePage ( WikiFunctions.API.PageInfo page ) : bool
page WikiFunctions.API.PageInfo
리턴 bool

CanDeletePage() 공개 메소드

Returns whether the user can delete the page based on group/edit rights Examples: sysop, eliminator groups should be able to delete pages
public CanDeletePage ( WikiFunctions.API.PageInfo page ) : bool
page WikiFunctions.API.PageInfo
리턴 bool

CanEditPage() 공개 메소드

public CanEditPage ( WikiFunctions.API.PageInfo page ) : bool
page WikiFunctions.API.PageInfo
리턴 bool

CanMovePage() 공개 메소드

public CanMovePage ( WikiFunctions.API.PageInfo page ) : bool
page WikiFunctions.API.PageInfo
리턴 bool

HasRight() 공개 메소드

public HasRight ( string right ) : bool
right string
리턴 bool

IsInGroup() 공개 메소드

public IsInGroup ( string group ) : bool
group string
리턴 bool