getUserRank

fun getUserRank(userId: Long): GroupRole

Method to get the rank of a User in a group provided a User ID

Return

GroupRole

Parameters

userId

The User's ID

Throws


fun getUserRank(user: User): GroupRole