AddUserRole Method
Associates a user with a role.
Required Permissions
UserAssignRoleSyntax
public void AddUserRole(
System.long userId,
System.long roleId
)Public Sub AddUserRole( _
ByVal userId As System.Long, _
ByVal roleId As System.Long _
) Parameters
| Name | Description |
|---|---|
| userId | The ID of the user. |
| roleId | The ID of the role. |
Return Value
Nothing.