public ulong GetUnseatedUserMask(XDoc licenseDoc) { var unseatedPermsStr = _licenseBL.GetCapability(licenseDoc, "unseated-permissions"); if (string.IsNullOrEmpty(unseatedPermsStr)) { return(ulong.MaxValue); } return((ulong)(PermissionsBL.MaskFromString(unseatedPermsStr) | PermissionSets.MINIMAL_ANONYMOUS_PERMISSIONS)); }
public string GetCapability(string name) { return(_licenseBL.GetCapability(LicenseDocument, name)); }