This version of Unity is unsupported.
Method group is Obsolete

IUserProfile.userName

Obsolete IUserProfile is deprecated and will be removed in a future release. public string userName;

Description

This user's username or alias.