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