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
userName
Type: System.StringThe name of the user to set.
activate
Type: System.Booleantrue to set the activate state to true; otherwise, false.
See Also
IUserExtension2 Interface
Microsoft.WindowsServerSolutions.Common Namespace
Return to top