RoleAddToUser Method

TriCodeTest

UpdateUserRoleController..::..RoleAddToUser Method

Roles the add to user.

Namespace:  TriCodeTest.Controllers
Assembly:  TriCodeTest (in TriCodeTest.dll)

Syntax


[HttpPostAttribute]
[ValidateAntiForgeryTokenAttribute]
public Task<ActionResult> RoleAddToUser(
	string UserName,
	string RoleName
)

Parameters

UserName
Type: String
Name of the user.
RoleName
Type: String
Name of the role.

Return Value