Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

UserPrivilege.GetPrivilegeLevel

public static Level GetPrivilegeLevel(User user)

Get the privilege level for a user

Returns: User privilege level

Parameter Description
user User

public static Level GetPrivilegeLevel(ProfileType profileType)

Convert a ProfileType to a UserPrivilegeLevel

Returns: User privilege level

Parameter Description
profileType Profile type