|
SecurityHubRemoveUserFromRole Method
|
Removes user from a role.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.230-beta
Syntax<AuthorizeHubRoleAttribute("Administrator")>
Public Function RemoveUserFromRole (
userID As Guid,
roleID As Guid
) As Boolean
function RemoveUserFromRole(userID, roleID);
View SourceParameters
- userID Guid
- User ID value.
- roleID Guid
- Role ID value.
Return Value
Booleantrue if user was removed; otherwise
false.
See Also