Checks if the file is out of Publish Period
Namespace: DotNetNuke.Services.FileSystem.InternalAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
bool IsFileOutOfPublishPeriod( IFileInfo file, int portalId, int userId ) |
Visual Basic |
---|
Function IsFileOutOfPublishPeriod ( file As IFileInfo, portalId As Integer, userId As Integer ) As Boolean |
Parameters
- file
- Type: DotNetNuke.Services.FileSystem..::..IFileInfo
the file to be checked
- portalId
- Type: System..::..Int32
The Portal Id where the file is contained
- userId
- Type: System..::..Int32
The user Id who is accessing to the file