SmartFoxServer 2X C# API (Unity/.Net/Mono/UWP)
SmartFoxServer 2X C# API (Unity/.Net/Mono/UWP)
Sfs2X.Entities
User Interface
User Methods
ContainsVariable Method
GetPlayerId Method
GetVariable Method
GetVariables Method
IsAdmin Method
IsGuest Method
IsJoinedInRoom Method
IsModerator Method
IsPlayerInRoom Method
IsSpectatorInRoom Method
IsStandardUser Method
User
IsAdmin Method
Indicates whether this user logged in as an administrator or not.
Namespace:
Sfs2X.Entities
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
Copy
bool
IsAdmin
()
Return Value
Type:
Boolean
true
if this user is an administrator.
Remarks
Administrator users have this property set to
ADMINISTRATOR
.
See Also
Reference
User Interface
Sfs2X.Entities Namespace
User
PrivilegeId
Copyright gotoAndPlay() 2023