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
Looking for labels? They can now be found in the details panel on the floating action bar.
Related content
GetCurrentSpaceUsers (Unity)
GetCurrentSpaceUsers (Unity)
More like this
BindToLocalUserMetadataString (Unity)
BindToLocalUserMetadataString (Unity)
More like this
BindXPropertyValue (Unity)
BindXPropertyValue (Unity)
More like this
AwaitLocalUser (Unity)
AwaitLocalUser (Unity)
More like this
GetXPropertyValue (Unity)
GetXPropertyValue (Unity)
More like this
FetchLocalUserMetadata (Unity)
FetchLocalUserMetadata (Unity)
More like this