ExistsFeaturePermission() public méthode

public ExistsFeaturePermission ( IEnumerable subjectIds, IEnumerable featureIds, PermissionType permissionType = PermissionType.Grant ) : bool
subjectIds IEnumerable
featureIds IEnumerable
permissionType PermissionType
Résultat bool
        public bool IsFeatureInEveryoneGroup(long featureId)
        {
            PermissionManager permissionManager = new PermissionManager();
            SubjectManager subjectManager = new SubjectManager();

            return permissionManager.ExistsFeaturePermission(subjectManager.GetGroupByName("everyone").Id, featureId);
        }