public static enum Permission.Role extends java.lang.Enum<Permission.Role>
| Enum Constant and Description |
|---|
ADMINISTER
Manage admins
Full Admin |
BASIC_ADMIN
View Insights
Full Admin, Content Creator, Moderator, Ads Creator, Insights Manager |
CREATE_ADS
Create ads and unpublished page posts
Full Admin, Content Creator, Moderator, Ads Creator |
CREATE_CONTENT
Create posts as the Page
Full Admin, Content Creator |
EDIT_PROFILE
Edit the Page and add apps
Full Admin, Content Creator |
MODERATE_CONTENT
Respond to and delete comments, send messages as the Page
Full Admin, Content Creator, Moderator |
| Modifier and Type | Method and Description |
|---|---|
static Permission.Role |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Permission.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission.Role ADMINISTER
public static final Permission.Role EDIT_PROFILE
public static final Permission.Role CREATE_CONTENT
public static final Permission.Role MODERATE_CONTENT
public static final Permission.Role CREATE_ADS
public static final Permission.Role BASIC_ADMIN
public static Permission.Role[] values()
for (Permission.Role c : Permission.Role.values()) System.out.println(c);
public static Permission.Role valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null