Checks if the Current 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
)
Visual Basic
Function IsHostAdminUser ( 
	portalId As Integer
) As Boolean

Parameters

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

Return Value

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

See Also