Checks if the provided user is Host user or Admin user of the provided portal

Namespace: DotNetNuke.Services.FileSystem.Internal
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
bool IsHostAdminUser(
	int portalId,
	int userId
)
Visual Basic
Function IsHostAdminUser ( 
	portalId As Integer,
	userId As Integer
) As Boolean

Parameters

portalId
Type: System..::..Int32
Portal Id to check Admin users
userId
Type: System..::..Int32
User Id to check

Return Value

True if the user is Host user or Admin user. False otherwise

See Also