- adminUser
- The administrator's who is removing the user.
- adminPassword
- The administrator's password.
- userName
- The user name which will be removed.
Visual Basic (Declaration) | |
---|---|
Public Overridable Function RemoveUser( _ ByVal adminUser As String, _ ByVal adminPassword As SecureString, _ ByVal userName As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual bool RemoveUser( string adminUser, SecureString adminPassword, string userName ) |
C++/CLI | |
---|---|
public: virtual bool RemoveUser( String^ adminUser, SecureString^ adminPassword, String^ userName ) |
Parameters
- adminUser
- The administrator's who is removing the user.
- adminPassword
- The administrator's password.
- userName
- The user name which will be removed.
Return Value
True if the user is removed; otherwise it is false.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family