public bool IsUserInRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionList systemUserRoleDescriptionList) { bool result = SystemUserRoleCollection.IsUserInRole(systemUserRoleDescriptionList); if (m_UserId == SystemIdentity.Instance.User.UserId && UserPreferenceInstance.Instance.UserPreference.Administrator == true) { result = true; } return(result); }
public bool IsUserInRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionList systemUserRoleDescriptionList) { return(SystemUserRoleCollection.IsUserInRole(systemUserRoleDescriptionList)); }