Example #1
0
        public void RemoveUsersFromRoles(string tenantName, string[] usernames, string[] roleNames)
        {
            if (string.IsNullOrEmpty(tenantName))
            {
                throw new ArgumentNullException("tenantName");
            }
            if (usernames == null || usernames.Length == 0)
            {
                throw new ArgumentNullException("usernames");
            }
            if (roleNames == null || roleNames.Length == 0)
            {
                throw new ArgumentNullException("roleNames");
            }

            AuthorizationLogic.RemoveUsersFromRoles(tenantName, usernames, roleNames);
        }