ユーザーを承認するときに考慮すべきさまざまな種類の役割があります。例: John は、新しいコンピュータを注文するには、ポジションマネージャを持ち、事務用品部門の一員である必要があります。
Roles の問題は、Roles.GetRolesForUser("John") が文字列配列しか返せないことです。
カスタム roleProvider とカスタム roleManager を使用する必要がありますか? または、GetUsersWithProfileProperties() などのメソッドを追加するカスタム ProfileManager を開発する必要がありますか?
どんな提案でも大歓迎です!
ティボー
編集: 上記の例は単純化されており、4 つの異なるコレクションである 4 種類のロールを持つことができます。