AddRole Method
Creates a new user-defined role.
Required Permissions
ManageRolesSyntax
public Role AddRole(
System.string roleName,
System.string description,
System.long[] permissionsArray
)Public Function AddRole( _
ByVal roleName As System.String, _
ByVal description As System.String, _
ByVal permissionsArray() As System.Long _
) As RoleParameters
| Name | Description |
|---|---|
| roleName | The name of the role. |
| description | The description of the role. |
| permissionsArray | An array of permissions of the role. |
Return Value
The newly created role.