Partager via


IUserExtension2.SetUserActivateStateAysnc Method (String, Boolean)

 

Asynchronously sets the active state for the specified user.

Namespace:   Microsoft.WindowsServerSolutions.Common
Assembly:  MiscUtil (in MiscUtil.dll)

Syntax

void SetUserActivateStateAysnc(
    string userName,
    bool activate
)
void SetUserActivateStateAysnc(
    String^ userName,
    bool activate
)
Sub SetUserActivateStateAysnc (
    userName As String,
    activate As Boolean
)

Parameters

  • activate
    Type: System.Boolean

    true to set the activate state to true; otherwise, false.

See Also

IUserExtension2 Interface
Microsoft.WindowsServerSolutions.Common Namespace

Return to top