'DeclarationFunction RemoveSecurityRoleId( _ ByVal securityId As String, _ ByVal securityRoleId As String _ ) As Boolean
'UsageDim instance As INameAndPasswordUserManager Dim securityId As String Dim securityRoleId As String Dim value As Boolean value = instance.RemoveSecurityRoleId(securityId, securityRoleId)
bool RemoveSecurityRoleId( string securityId, string securityRoleId )
bool RemoveSecurityRoleId( String^ securityId, String^ securityRoleId )
Parameters
- securityId
- The security ID of the user.
The value of this parameter cannot be
null(Nothingin Visual Basic). - securityRoleId
- The security role ID to remove.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
true if the security role was removed successfully; otherwise, false.