public ExistsFeaturePermission ( IEnumerable |
||
subjectIds | IEnumerable |
|
featureIds | IEnumerable |
|
permissionType | PermissionType | |
Результат | bool |
public bool IsFeatureInEveryoneGroup(long featureId) { PermissionManager permissionManager = new PermissionManager(); SubjectManager subjectManager = new SubjectManager(); return permissionManager.ExistsFeaturePermission(subjectManager.GetGroupByName("everyone").Id, featureId); }