Beamable SDK
All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Beamable.Editor.Modules.Account.EditorUser Class Reference
Inheritance diagram for Beamable.Editor.Modules.Account.EditorUser:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Editor.Modules.Account.EditorUser:
Collaboration graph
[legend]

Public Member Functions

 EditorUser (User user)
 
- Public Member Functions inherited from Beamable.Common.Api.Auth.User
bool HasDBCredentials ()
 
bool HasThirdPartyAssociation (AuthThirdParty thirdParty)
 
bool HasAnyCredentials ()
 
bool HasScope (string scope)
 

Public Attributes

string roleString
 
bool IsAtLeastAdmin => string.Equals(roleString, ADMIN_ROLE)
 
bool IsAtLeastDeveloper => IsAtLeastAdmin || string.Equals(roleString, DEVELOPER_ROLE)
 
bool IsAtLeastTester => IsAtLeastDeveloper || string.Equals(roleString, TESTER_ROLE)
 
bool HasNoRole => !IsAtLeastTester
 
bool CanPushContent => IsAtLeastDeveloper
 
- Public Attributes inherited from Beamable.Common.Api.Auth.User
long id
 
string email
 
string language
 
List< string > scopes
 
List< string > thirdPartyAppAssociations
 

Static Public Attributes

const string ADMIN_ROLE = "admin"
 
const string DEVELOPER_ROLE = "developer"
 
const string TESTER_ROLE = "tester"
 

The documentation for this class was generated from the following file: