Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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