Compartilhar via


IMicrosoftGraphAppRole Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphAppRoleTypeConverter))]
public interface IMicrosoftGraphAppRole : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IAssociativeArray<object>, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphAppRoleTypeConverter))>]
type IMicrosoftGraphAppRole = interface
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Interface IMicrosoftGraphAppRole
Implements IAssociativeArray(Of Object), IJsonSerializable
Derived
Attributes
Implements

Properties

AdditionalProperties (Inherited from IAssociativeArray<T>)
AllowedMemberType

Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment to other applications' service principals are also known as application permissions. The 'Application' value is only supported for app roles defined on application entities.

Description

The description for the app role. This is displayed when the app role is being assigned and, if the app role functions as an application permission, during consent experiences.

DisplayName

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

Id

Unique role identifier inside the appRoles collection. When creating a new app role, a new Guid identifier must be provided.

IsEnabled

When creating or updating an app role, 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.

Item[String] (Inherited from IAssociativeArray<T>)
Origin

Specifies if the app role is defined on the application object or on the servicePrincipal entity. Must not be included in any POST or PATCH requests. Read-only.

Value

Methods

Add(String, T) (Inherited from IAssociativeArray<T>)
Clear() (Inherited from IAssociativeArray<T>)
ContainsKey(String) (Inherited from IAssociativeArray<T>)
Remove(String) (Inherited from IAssociativeArray<T>)
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)
TryGetValue(String, T) (Inherited from IAssociativeArray<T>)

Applies to