'DeclarationFunction SetEnabled( _ ByVal securityId As String, _ ByVal enabled As Boolean _ ) As Boolean
'UsageDim instance As INameAndPasswordUserManager Dim securityId As String Dim enabled As Boolean Dim value As Boolean value = instance.SetEnabled(securityId, enabled)
bool SetEnabled( string securityId, bool enabled )
bool SetEnabled( String^ securityId, bool enabled )
Parameters
- securityId
- The security ID of the user.
The value of this parameter cannot be
null(Nothingin Visual Basic). - enabled
- Whether the user should be enabled.
Return Value
true if the enabled status was set successfully; otherwise, false.