PermissionRepositoryV3 Class

Permission Repository provides CRUD operations for permissions
Inheritance Hierarchy
System.Object
  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 PermissionRepositoryV3 : PermissionRepositoryV2, 
	ISimpleClientPermissionRepositoryV3, ISimpleClientPermissionRepositoryV2, ISimpleClientPermissionRepositoryV1, IFilterable<PermissionV1, Guid>, 
	ICacheableRepository

The PermissionRepositoryV3 type exposes the following members.

Properties
 NameDescription
Public propertyCachingEnabled Gets or sets a value indicating whether is caching enabled for current repository. This setting can override global CachingEnabled setting in Config..
(Inherited from PermissionRepositoryV2)
Top
Methods
 NameDescription
Public methodCode exampleCreateCreates new permission.
(Inherited from PermissionRepository)
Public methodCode exampleDeleteDeletes existing permission.
(Inherited from PermissionRepository)
Public methodCode exampleFilter(Guid, IDictionary<String, Object>) Filter all permissions
(Inherited from PermissionRepository)
Public methodFilter(Guid, IDictionary<String, Object>, Int32, Guid) Filter all permissions
(Inherited from PermissionRepository)
Public methodFlushCache Flushes all cached data for current repository.
(Inherited from PermissionRepositoryV2)
Public methodCode exampleGetGets the specified permission identifier.
(Inherited from PermissionRepository)
Public methodCode exampleGetAccessPermissionsByDeviceAndPersons(Guid)Get all access permissions by device and all persons.
Public methodCode exampleGetAccessPermissionsByDeviceAndPersons(Guid, ISimpleCollection<Guid>)Get all access permissions by device and persons.
Public methodCode exampleGetAllGet all permissions.
(Inherited from PermissionRepository)
Public methodCode exampleGetAllByTypesGet all by permission types.
Public methodCode exampleGetAllForEntityByTrusteeAndTypeGets the children with parents for calculation.
Public methodCode exampleGetAllForTrusteeByEntityAndTypeGets the children with parents for calculation.
Public methodCode exampleGetChildrenWithParentsForCalculationGets the children with parents for calculation.
(Inherited from PermissionRepositoryV2)
Public methodCode exampleGetDefinitionsByEntityType Get Permission definitions by entity type.
(Inherited from PermissionRepositoryV2)
Public methodCode exampleGetDefinitionsByTrusteeType Get Permission definitions by trustee type.
(Inherited from PermissionRepositoryV2)
Public methodCode exampleGetParentsForCalculationGets the parents for calculation.
(Inherited from PermissionRepositoryV2)
Public methodCode exampleImportImport 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)
Public methodCode exampleSearch Search permission ids.
(Inherited from PermissionRepository)
Public methodCode exampleUpdateUpdates existing permission.
(Inherited from PermissionRepository)
Top
Extension Methods
 NameDescription
Public Extension MethodCode exampleToInvariantString To the invariant string.
(Defined by Extensions)
Top
See Also

Reference

Gamanet.C4.SDK Namespace