次の方法で共有


AppRole コンストラクター

定義

オーバーロード

AppRole()

AppRole クラスの新しいインスタンスを初期化します。

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

AppRole クラスの新しいインスタンスを初期化します。

AppRole()

AppRole クラスの新しいインスタンスを初期化します。

public AppRole ();
Public Sub New ()

適用対象

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

AppRole クラスの新しいインスタンスを初期化します。

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.Graph.RBAC.Models.AppRole : string * System.Collections.Generic.IList<string> * string * string * Nullable<bool> * string -> Microsoft.Azure.Graph.RBAC.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)

パラメーター

id
String

appRoles コレクション内の一意のロール識別子。

allowedMemberTypes
IList<String>

[ユーザー] に設定するか、他のアプリケーション (デーモン サービス シナリオではこのアプリケーションにアクセスするアプリケーション) を [アプリケーション] に設定するか、またはその両方に設定して、このアプリ ロール定義をユーザーとグループに割り当てることができるかどうかを指定します。

description
String

管理者のアプリケーション割り当て画面および同意画面に表示されるアクセス許可のヘルプ テキスト。

displayName
String

管理者の同意画面およびアプリケーション割り当て画面に表示されるアクセス許可の表示名。

isEnabled
Nullable<Boolean>

ロール定義を作成または更新するときは、このプロパティを true (既定) に設定する必要があります。 ロールを削除するには、このプロパティを最初に false に設定する必要があります。 その時点で、後続の呼び出しでこのロールが削除されます。

value
String

認証およびアクセス トークンでアプリケーションが必要とするロール要求の値を指定します。

適用対象