DatabaseUtilsGetAuthorizedChildFolders Method |
Gets authorized child folders.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static List<IFolder> GetAuthorizedChildFolders(
IDatabaseRepository pRepository,
string folderId,
string userName,
int requiredAuthorization,
bool ignoreAuthorization = false
)
Parameters
- pRepository
- Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The repository. - folderId
- Type: SystemString
The folder ID. - userName
- Type: SystemString
The user name. - requiredAuthorization
- Type: SystemInt32
The required authorization level. - ignoreAuthorization (Optional)
- Type: SystemBoolean
Indicates whether the authorization check is to be skipped. Useful if user has System.All permission.
Return Value
Type:
ListIFolderThe sequence of authorized folders.
See Also