Class AuthorizationPolicy

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class AuthorizationPolicy extends PolicyBase implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Authorization Policy.
  • Field Details

    • allowedToSignUpEmailBasedSubscriptions

      @SerializedName(value="allowedToSignUpEmailBasedSubscriptions", alternate="AllowedToSignUpEmailBasedSubscriptions") @Expose @Nullable public Boolean allowedToSignUpEmailBasedSubscriptions
      The Allowed To Sign Up Email Based Subscriptions. Indicates whether users can sign up for email based subscriptions.
    • allowedToUseSSPR

      @SerializedName(value="allowedToUseSSPR", alternate="AllowedToUseSSPR") @Expose @Nullable public Boolean allowedToUseSSPR
      The Allowed To Use SSPR. Indicates whether users can use the Self-Serve Password Reset feature on the tenant.
    • allowEmailVerifiedUsersToJoinOrganization

      @SerializedName(value="allowEmailVerifiedUsersToJoinOrganization", alternate="AllowEmailVerifiedUsersToJoinOrganization") @Expose @Nullable public Boolean allowEmailVerifiedUsersToJoinOrganization
      The Allow Email Verified Users To Join Organization. Indicates whether a user can join the tenant by email validation.
    • allowInvitesFrom

      @SerializedName(value="allowInvitesFrom", alternate="AllowInvitesFrom") @Expose @Nullable public AllowInvitesFrom allowInvitesFrom
      The Allow Invites From. Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more details, see allowInvitesFrom values.
    • allowUserConsentForRiskyApps

      @SerializedName(value="allowUserConsentForRiskyApps", alternate="AllowUserConsentForRiskyApps") @Expose @Nullable public Boolean allowUserConsentForRiskyApps
      The Allow User Consent For Risky Apps. Indicates whether user consent for risky apps is allowed. We recommend to keep this as false. Default value is false.
    • blockMsolPowerShell

      @SerializedName(value="blockMsolPowerShell", alternate="BlockMsolPowerShell") @Expose @Nullable public Boolean blockMsolPowerShell
      The Block Msol Power Shell. To disable the use of MSOL PowerShell, set this property to true. This also disables user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure Active Directory Connect or Microsoft Graph.
    • defaultUserRolePermissions

      @SerializedName(value="defaultUserRolePermissions", alternate="DefaultUserRolePermissions") @Expose @Nullable public DefaultUserRolePermissions defaultUserRolePermissions
      The Default User Role Permissions. Specifies certain customizable permissions for default user role.
    • guestUserRoleId

      @SerializedName(value="guestUserRoleId", alternate="GuestUserRoleId") @Expose @Nullable public UUID guestUserRoleId
      The Guest User Role Id. Represents role templateId for the role that should be granted to guest user. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b).
  • Constructor Details

    • AuthorizationPolicy

      public AuthorizationPolicy()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class PolicyBase
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to