/
Get/BindUserName (Unity)
Get/BindUserName (Unity)
- Declaration
public static string GetUserName(this CavrnusUser user)
public static IDisposable BindUserName(this CavrnusUser user, Action<string> onNameChanged)
- Description
Gets or Binds a string of the user’s current Name.
Note: Under-the-hood this is actually just calling: user.SpaceConnection.GetStringPropertyValue(user.ContainerId, "name");
Since "name"
is a well-known value assigned by the server, we wrote this function as a helpful convenience.
NOTE: Since this value is representing data coming from outside the Properties system it cannot be assigned to, only read. Currently, user names can only be modified in the Management Console, using the User Management Tools.
- Sample
, multiple selections available,
Related content
API Reference - Unity
API Reference - Unity
Read with this
CavrnusUser (Unity)
CavrnusUser (Unity)
More like this
BindToLocalUserMetadataString (Unity)
BindToLocalUserMetadataString (Unity)
More like this
CavrnusUser (.NET)
CavrnusUser (.NET)
More like this
UpdateLocalUserMetadataString (Unity)
UpdateLocalUserMetadataString (Unity)
More like this
FetchLocalUserMetadata (Unity)
FetchLocalUserMetadata (Unity)
More like this