RoleGroup.Roles Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the roles associated with this role group.
public:
property cli::array <System::String ^> ^ Roles { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.WebControls.StringArrayConverter))]
public string[] Roles { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.WebControls.StringArrayConverter))>]
member this.Roles : string[] with get, set
Public Property Roles As String()
Property Value
String[]
A comma-separated list of roles associated with this role group. The default is null
.
- Attributes
Examples
The following code example assigns a list of roles to associate with a role group. This code example is part of a larger example provided for the RoleGroup class.
String[] RoleList = {"users"};
rg.Roles = RoleList;
Dim RoleList(1) As String
RoleList(0) = "users"
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ