ISecuredCentralizedFileStore is defined in the Telligent.Evolution.Extensibility.Storage.Version1 namespace.
Definition
interface ISecuredCentralizedFileStore : ICentralizedFileStore { bool UserHasAccess(int userId, string path, string fileName); Task<bool> UserHasAccessAsync(int userId, string path, string fileName); }
Methods
bool UserHasAccess(int userId, string path, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | int | User Id | Required | ||
| path | string | Path | Required | ||
| fileName | string | File Name | Required |
Return Type
Task<bool> UserHasAccessAsync(int userId, string path, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | int | User Id | Required | ||
| path | string | Path | Required | ||
| fileName | string | File Name | Required |