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 ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา