Example #1
0
        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);
        }
Example #2
0
 public SystemUser()
 {
     m_SystemUserRoleCollection = new SystemUserRoleCollection();
 }
Example #3
0
 public bool IsUserInRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionList systemUserRoleDescriptionList)
 {
     return(SystemUserRoleCollection.IsUserInRole(systemUserRoleDescriptionList));
 }