Exemple #1
0
        public int IsValidAccess(string moduleFriendlyName, string domainOfAccess, string privilegeLevel, string userIdentifier)
        {
            if (!moduleFriendlyName.Equals(moduleInfo.FriendlyName(), StringComparison.CurrentCultureIgnoreCase))
            {
                logger.Log("Error: {0} is being asked about {1}", moduleInfo.FriendlyName(), moduleFriendlyName);
            }

            return(platform.IsValidAccess(moduleFriendlyName, domainOfAccess, privilegeLevel, userIdentifier));
        }
Exemple #2
0
 public int IsValidAccess(string accessedModule, string domainOfAccess, string privilegeLevel, string userIdentifier)
 {
     return(_view.IsValidAccess(accessedModule, domainOfAccess, privilegeLevel, userIdentifier));
 }