Get a user based on their display name and portal
Namespace: DotNetNuke.Entities.UsersAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
UserInfo GetUserByDisplayname( int portalId, string displayName ) |
| Visual Basic |
|---|
Function GetUserByDisplayname ( portalId As Integer, displayName As String ) As UserInfo |
Parameters
- portalId
- Type: System..::..Int32
the portalid
- displayName
- Type: System..::..String
the displayname