UserRole
public enum UserRole : Int, Codable
The set of available user role types.
case superAdmin = 1
case admin = 2
case editor = 3
-
Indicates the user has the super admin role.
Declaration
Swift
case superAdmin = 1
-
Indicates the user has the admin role.
Declaration
Swift
case admin = 2
-
Indicates the user has the editor role.
Declaration
Swift
case editor = 3