Affecto.IdentityManagement.ApplicationServices.UserService.SetRolesAndGroups C# (CSharp) Метод

SetRolesAndGroups() приватный Метод

private SetRolesAndGroups ( System.Guid userId, IEnumerable authenticatedGroups ) : void
userId System.Guid
authenticatedGroups IEnumerable
Результат void
        private void SetRolesAndGroups(Guid userId, IEnumerable<string> authenticatedGroups)
        {
            List<string> authenticatedGroupList = authenticatedGroups.Where(o => !string.IsNullOrEmpty(o)).ToList();

            SetUserGroups(userId, authenticatedGroupList);
            SetUserRoles(userId, authenticatedGroupList);
        }