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)); }
public int IsValidAccess(string accessedModule, string domainOfAccess, string privilegeLevel, string userIdentifier) { return(_view.IsValidAccess(accessedModule, domainOfAccess, privilegeLevel, userIdentifier)); }