C# 클래스 Rebel.Framework.Security.PublicAccessService

상속: IPublicAccessService
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
GetNearestPublicAccessInfo ( HiveId entityId ) : PublicAccessInfo
GetPublicAccessStatus ( HiveId memberId, HiveId entityId ) : PublicAccessStatusResult

Gets the public access status for the specified member.

GetPublicAccessStatus ( IEnumerable userGroupIds, HiveId entityId ) : PublicAccessStatusResult

Gets the public access status for the specified user groups.

IsProtected ( HiveId entityId ) : bool

Determines whether the specified entity id is protected.

PublicAccessService ( IHiveManager hive, IMembershipService membersMembershipService, IFrameworkContext framework ) : System

보호된 메소드들

메소드 설명
GetUserGroupIdsForMember ( HiveId memberId ) : IEnumerable

Gets a list of UserGroup ids that the specified Member belongs to.

메소드 상세

GetNearestPublicAccessInfo() 공개 메소드

public GetNearestPublicAccessInfo ( HiveId entityId ) : PublicAccessInfo
entityId HiveId
리턴 PublicAccessInfo

GetPublicAccessStatus() 공개 메소드

Gets the public access status for the specified member.
public GetPublicAccessStatus ( HiveId memberId, HiveId entityId ) : PublicAccessStatusResult
memberId HiveId The member id.
entityId HiveId The entity id.
리턴 PublicAccessStatusResult

GetPublicAccessStatus() 공개 메소드

Gets the public access status for the specified user groups.
public GetPublicAccessStatus ( IEnumerable userGroupIds, HiveId entityId ) : PublicAccessStatusResult
userGroupIds IEnumerable The user group ids.
entityId HiveId The entity id.
리턴 PublicAccessStatusResult

GetUserGroupIdsForMember() 보호된 메소드

Gets a list of UserGroup ids that the specified Member belongs to.
protected GetUserGroupIdsForMember ( HiveId memberId ) : IEnumerable
memberId HiveId The member id.
리턴 IEnumerable

IsProtected() 공개 메소드

Determines whether the specified entity id is protected.
public IsProtected ( HiveId entityId ) : bool
entityId HiveId The entity id.
리턴 bool

PublicAccessService() 공개 메소드

public PublicAccessService ( IHiveManager hive, IMembershipService membersMembershipService, IFrameworkContext framework ) : System
hive IHiveManager
membersMembershipService IMembershipService
framework IFrameworkContext
리턴 System