Class PrincipalType


  • public final class PrincipalType
    extends com.azure.core.util.ExpandableStringEnum<PrincipalType>
    Defines values for PrincipalType.
    • Field Detail

      • USER

        public static final PrincipalType USER
        Static value User for PrincipalType.
      • GROUP

        public static final PrincipalType GROUP
        Static value Group for PrincipalType.
      • SERVICE_PRINCIPAL

        public static final PrincipalType SERVICE_PRINCIPAL
        Static value ServicePrincipal for PrincipalType.
      • FOREIGN_GROUP

        public static final PrincipalType FOREIGN_GROUP
        Static value ForeignGroup for PrincipalType.
    • Constructor Detail

      • PrincipalType

        public PrincipalType()
    • Method Detail

      • fromString

        public static PrincipalType fromString​(String name)
        Creates or finds a PrincipalType from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding PrincipalType.