Variable user​Membership
public let userMembership: User.Membership?
If the request is made by an authenticated user, a UserMembership
object is returned containing information about
the user's access to the group. This includes the username
of the calling user; the memberType
, which specifies
the type of membership the user has in the group (owner, member, admin, none); and the applications
(number of
requests to join the group) count available to administrators and owners.