This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets the name of the domain from a user name.
Namespace: Smartsite.Security
Assembly: Smartsite.Security (in Smartsite.Security.dll)
Syntax
C# | Copy Code |
---|---|
public static string GetDomainFromUserName( ref string userName ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Shared Function GetDomainFromUserName ( _ ByRef userName As _ ) As |
Parameters
- userName
- String%
Name of the user.
Return Value
Domain name if specified.See Also
User Class
Smartsite.Security Namespace