'DeclarationFunction GetEnabled( _ ByVal securityId As String, _ ByRef enabled As Boolean _ ) As Boolean
'UsageDim instance As IReadOnlyNameAndPasswordUserManager2 Dim securityId As String Dim enabled As Boolean Dim value As Boolean value = instance.GetEnabled(securityId, enabled)
bool GetEnabled( string securityId, out bool enabled )
bool GetEnabled( String^ securityId, [Out] bool enabled )
Parameters
- securityId
- The security ID of the user.
The value of this parameter cannot be
null(Nothingin Visual Basic). - enabled
- When this method returns
true, containstrueif the user is enabled; in all other cases, it containsfalse.
Return Value
true if the user was found; otherwise, false.