C# Class Rebel.Framework.Security.PublicAccessService

Inheritance: IPublicAccessService
Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
GetUserGroupIdsForMember ( HiveId memberId ) : IEnumerable

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

Method Details

GetNearestPublicAccessInfo() public méthode

public GetNearestPublicAccessInfo ( HiveId entityId ) : PublicAccessInfo
entityId HiveId
Résultat PublicAccessInfo

GetPublicAccessStatus() public méthode

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.
Résultat PublicAccessStatusResult

GetPublicAccessStatus() public méthode

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.
Résultat PublicAccessStatusResult

GetUserGroupIdsForMember() protected méthode

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

IsProtected() public méthode

Determines whether the specified entity id is protected.
public IsProtected ( HiveId entityId ) : bool
entityId HiveId The entity id.
Résultat bool

PublicAccessService() public méthode

public PublicAccessService ( IHiveManager hive, IMembershipService membersMembershipService, IFrameworkContext framework ) : System
hive IHiveManager
membersMembershipService IMembershipService
framework IFrameworkContext
Résultat System