Determines whether the user associated with this session is allowed to delete a directory.

Namespace: ININ.IceLib.Directories
Assembly: ININ.IceLib.Directories (in ININ.IceLib.Directories.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public bool CanDeleteDirectory(
	DirectoryMetadata metadata
)
Visual Basic
Public Function CanDeleteDirectory ( _
	metadata As DirectoryMetadata _
) As Boolean

Parameters

metadata
Type: ININ.IceLib.Directories..::..DirectoryMetadata
The metadata for the directory to delete.

Return Value

trueTruetruetrue (True in Visual Basic) if this instance can delete the directory; otherwise, falseFalsefalsefalse (False in Visual Basic).

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also