- userName
- The user name to check.
Visual Basic (Declaration) | |
---|---|
Public Overridable Function IsAdmin( _ ByVal userName As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- userName
- The user name to check.
Return Value
True if the user is an administrator; otherwise it is false.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family