public static enum sdkEnumConstants.AccessPermission extends java.lang.Enum<sdkEnumConstants.AccessPermission>
The access type/level to be provided to the user
Appropriate value to be passed as an argument to shareToUser function in Account class
Choose AccessPermission.VIEW,if only needs view permission
Choose AccessPermission.MODIFY,if you need to give modify permission
Choose AccessPermission.FULLACCESS,if you need to give full permission[not applicable for user type roles]
| Enum Constant and Description |
|---|
FULLACCESS |
MODIFY |
REVOKE |
VIEW |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static sdkEnumConstants.AccessPermission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static sdkEnumConstants.AccessPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final sdkEnumConstants.AccessPermission FULLACCESS
public static final sdkEnumConstants.AccessPermission VIEW
public static final sdkEnumConstants.AccessPermission MODIFY
public static final sdkEnumConstants.AccessPermission REVOKE
public static sdkEnumConstants.AccessPermission[] values()
for (sdkEnumConstants.AccessPermission c : sdkEnumConstants.AccessPermission.values()) System.out.println(c);
public static sdkEnumConstants.AccessPermission 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<sdkEnumConstants.AccessPermission>