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