AppRole Class

Definition

public class AppRole
type AppRole = class
Public Class AppRole
Inheritance
AppRole

Constructors

AppRole()

Initializes a new instance of the AppRole class.

AppRole(String, IList<String>, String, String, Nullable<Boolean>, String)

Initializes a new instance of the AppRole class.

Properties

AllowedMemberTypes

Gets or sets specifies whether this app role definition can be assigned to users and groups by setting to 'User', or to other applications (that are accessing this application in daemon service scenarios) by setting to 'Application', or to both.

Description

Gets or sets permission help text that appears in the admin app assignment and consent experiences.

DisplayName

Gets or sets display name for the permission that appears in the admin consent and app assignment experiences.

Id

Gets or sets unique role identifier inside the appRoles collection.

IsEnabled

Gets or sets when creating or updating a role definition, this must be set to true (which is the default). To delete a role, this must first be set to false. At that point, in a subsequent call, this role may be removed.

Value

Gets or sets specifies the value of the roles claim that the application should expect in the authentication and access tokens.

Applies to