Permission |
Permission Repository provides CRUD operations for permissions
Inheritance Hierarchy
System.Object
Gamanet.C4.SDK.PermissionRepository
Gamanet.C4.SDK.PermissionRepositoryV2
Gamanet.C4.SDK.PermissionRepositoryV3
Gamanet.C4.SDK.PermissionRepository
Gamanet.C4.SDK.PermissionRepositoryV2
Gamanet.C4.SDK.PermissionRepositoryV3
Namespace: Gamanet.C4.SDK
Assembly: Gamanet.C4.SimpleClient (in Gamanet.C4.SimpleClient.dll) Version: 2026.0.0.733
Syntax
C#
public class PermissionRepositoryV2 : PermissionRepository, ISimpleClientPermissionRepositoryV2, ISimpleClientPermissionRepositoryV1, IFilterable<PermissionV1, Guid>, ICacheableRepository
The PermissionRepositoryV2 type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| CachingEnabled | Gets or sets a value indicating whether is caching enabled for current repository. This setting can override global CachingEnabled setting in Config.. |
Methods
| Name | Description | |
|---|---|---|
| Create | Creates new permission. (Inherited from PermissionRepository) | |
| Delete | Deletes existing permission. (Inherited from PermissionRepository) | |
| Filter(Guid, IDictionary<String, Object>) |
Filter all permissions
(Inherited from PermissionRepository) | |
| Filter(Guid, IDictionary<String, Object>, Int32, Guid) |
Filter all permissions
(Inherited from PermissionRepository) | |
| FlushCache | Flushes all cached data for current repository. | |
| Get | Gets the specified permission identifier. (Inherited from PermissionRepository) | |
| GetAll | Get all permissions. (Inherited from PermissionRepository) | |
| GetChildrenWithParentsForCalculation | Gets the children with parents for calculation. | |
| GetDefinitionsByEntityType | Get Permission definitions by entity type. | |
| GetDefinitionsByTrusteeType | Get Permission definitions by trustee type. | |
| GetParentsForCalculation | Gets the parents for calculation. | |
| Import | Import the list of permissions.
If a permission already exists, they will be updated and if they do not exist, they will be created. (Inherited from PermissionRepository) | |
| Search |
Search permission ids.
(Inherited from PermissionRepository) | |
| Update | Updates existing permission. (Inherited from PermissionRepository) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToInvariantString |
To the invariant string.
(Defined by Extensions) |
See Also