summaryM:DotNetNuke.Entities.Users.UserController.GetUser(System.Int32,System.Int32,System.Boolean,System.Boolean)

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Deprecated in DNN 5.1. Not needed any longer for single users due to autohydration")]
public static UserInfo GetUser(
	int portalId,
	int userId,
	bool isHydrated,
	bool hydrateRoles
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> 
<ObsoleteAttribute("Deprecated in DNN 5.1. Not needed any longer for single users due to autohydration")> 
Public Shared Function GetUser ( 
	portalId As Integer,
	userId As Integer,
	isHydrated As Boolean,
	hydrateRoles As Boolean
) As UserInfo

Parameters

portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Entities.Users.UserController.GetUser(System.Int32,System.Int32,System.Boolean,System.Boolean)
userId
Type: System..::..Int32
paramuserIdM:DotNetNuke.Entities.Users.UserController.GetUser(System.Int32,System.Int32,System.Boolean,System.Boolean)
isHydrated
Type: System..::..Boolean
paramisHydratedM:DotNetNuke.Entities.Users.UserController.GetUser(System.Int32,System.Int32,System.Boolean,System.Boolean)
hydrateRoles
Type: System..::..Boolean
paramhydrateRolesM:DotNetNuke.Entities.Users.UserController.GetUser(System.Int32,System.Int32,System.Boolean,System.Boolean)

Return Value

returnsM:DotNetNuke.Entities.Users.UserController.GetUser(System.Int32,System.Int32,System.Boolean,System.Boolean)

See Also