User Class |
Namespace: ImmerseSDK.Sessions
public sealed class User
The User type exposes the following members.
Name | Description | |
---|---|---|
User |
Constructs a new user object. This is used by the serialisation code.
| |
User(Int32, String, String, Int32) |
Creates a new user object
|
Name | Description | |
---|---|---|
ClientType |
Type of user or client
| |
ID |
The unique ID of this user
| |
Profile |
Profile type, used to identify user privilages within Unity
|
Name | Description | |
---|---|---|
Equals |
Compares against object using Id
(Overrides ObjectEquals(Object).) | |
Find |
Gets a reference to the user object for the given id
| |
FindLocal |
Gets a reference to the local user object
| |
GetHashCode |
HashCode generated from the User ID only
(Overrides ObjectGetHashCode.) | |
HasSpaceOwnerPrivilages |
Returns true if the user is the owner of the current space, or has been granted facilitator privilages for that space
| |
IsLocal |
True if this user is local
| |
ToString |
Helps in debugging and console output. PRints the current user's name, whether they are online, and if they are local or remote.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Equality |
Equals(a, b)
| |
(User to UserID) |
Converts a User object to a UserId
| |
Inequality |
!Equals(a, b)
|
Name | Description | |
---|---|---|
ArchwayID |
The Archway id. Used to identify the user on the server
| |
AudioTags | ||
ConnectionTypes |
Identifies the connection type
| |
Name |
The display name for this user, as it is seen by others
| |
RawID |
The Ghost id. Used to identify the user on the network
| |
RawProfile |
Profile level, used to identify user privilages on the platform
| |
RoleId |
Assigned role id, where 0 is not assigned
|
Name | Description | |
---|---|---|
GetGroup |
Returns the user's current group
(Defined by UserExtensions.) | |
HasConnectionType |
Returns true if the user has the specified connection type
(Defined by UserExtensions.) |