AppRole Constructors

Definition

Overloads

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.

AppRole()

Initializes a new instance of the AppRole class.

public AppRole ();
Public Sub New ()

Applies to

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

Initializes a new instance of the AppRole class.

public AppRole (string id = default, System.Collections.Generic.IList<string> allowedMemberTypes = default, string description = default, string displayName = default, bool? isEnabled = default, string value = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.AppRole : string * System.Collections.Generic.IList<string> * string * string * Nullable<bool> * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.AppRole
Public Sub New (Optional id As String = Nothing, Optional allowedMemberTypes As IList(Of String) = Nothing, Optional description As String = Nothing, Optional displayName As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional value As String = Nothing)

Parameters

id
String

Unique role identifier inside the appRoles collection.

allowedMemberTypes
IList<String>

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
String

Permission help text that appears in the admin app assignment and consent experiences.

displayName
String

Display name for the permission that appears in the admin consent and app assignment experiences.

isEnabled
Nullable<Boolean>

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
String

Specifies the value of the roles claim that the application should expect in the authentication and access tokens.

Applies to