public final enum

PortalUserRole

extends Enum<PortalUserRole>
java.lang.Object
   ↳ java.lang.Enum<com.esri.core.portal.PortalUserRole>
     ↳ com.esri.core.portal.PortalUserRole

Class Overview

Signifies the role of the portal user.

Summary

Enum Values
PortalUserRole  ORG_ADMIN  User role: org_admin. 
PortalUserRole  ORG_PUBLISHER  User role: org_publisher. 
PortalUserRole  ORG_USER  User role: org_user. 
PortalUserRole  ORG_VIEWER  User role: org_viewer. 
PortalUserRole  UNKNOWN_ROLE  User role: unknown  
Public Methods
static PortalUserRole fromString(String str)
Create a PortalUserRole from a String.
String toString()
static PortalUserRole valueOf(String name)
static final PortalUserRole[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PortalUserRole ORG_ADMIN

User role: org_admin.

public static final PortalUserRole ORG_PUBLISHER

User role: org_publisher.

public static final PortalUserRole ORG_USER

User role: org_user.

public static final PortalUserRole ORG_VIEWER

User role: org_viewer.

public static final PortalUserRole UNKNOWN_ROLE

User role: unknown

Public Methods

public static PortalUserRole fromString (String str)

Create a PortalUserRole from a String.

Parameters
str String: String representation of the role
Returns
PortalUserRole PortalUserRole represented by that String

public String toString ()

Returns
String

public static PortalUserRole valueOf (String name)

Parameters
name String
Returns
PortalUserRole

public static final PortalUserRole[] values ()