UpdateRole Method
Updates a user-defined role.
Required Permissions
ManageRolesSyntax
public Role UpdateRole(
System.long roleId,
System.string roleName,
System.string description,
System.long[] permissionsArray
)Public Function UpdateRole( _
ByVal roleId As System.Long, _
ByVal roleName As System.String, _
ByVal description As System.String, _
ByVal permissionsArray() As System.Long _
) As RoleParameters
| Name | Description |
|---|---|
| roleId | The ID of the role. |
| roleName | The new name. |
| description | The new description. |
| permissionsArray | The new permissions array. |
Return Value
The updated Role object.