Click or drag to resize

SecurityHubAddUserToRole Method

Adds user to a role.

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
[AuthorizeHubRoleAttribute("Administrator")]
public bool AddUserToRole(
	Guid userID,
	Guid roleID
)
View Source

Parameters

userID  Guid
User ID value.
roleID  Guid
Role ID value.

Return Value

Boolean
true if user was added; otherwise false.
See Also