def METHOD_NAME(cls, user_as_dict: Dict) -> 'User':
    """ Alternative constructor
    :param user_as_dict: user as dict
    :return: user, an instance of this class
    """
    return cls(name=user_as_dict['Name'],
               friendly_name=user_as_dict['FriendlyName'],
               enabled=user_as_dict["Enabled"],
               user_type=user_as_dict["Type"],
               groups=[group["Name"] for group in user_as_dict['Groups']])