PersonRepositoryV3 Class

Person Repository provides CRUD operations for persons
Inheritance Hierarchy
System.Object
  Gamanet.C4.SDK.PersonRepository
    Gamanet.C4.SDK.PersonRepositoryV2
      Gamanet.C4.SDK.PersonRepositoryV3
        Gamanet.C4.SDK.PersonRepositoryV4

Namespace: Gamanet.C4.SDK
Assembly: Gamanet.C4.SimpleClient (in Gamanet.C4.SimpleClient.dll) Version: 2026.0.0.733
Syntax
C#
public class PersonRepositoryV3 : PersonRepositoryV2, 
	ISimpleClientPersonRepositoryV3, ISimpleClientPersonRepositoryV2, ISimpleClientPersonRepositoryV1, IFilterable<SimplePersonV1, Guid>, 
	IEntitySourceRepository<SimplePersonV1>, ICacheableRepository

The PersonRepositoryV3 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 PersonRepositoryV2)
Top
Methods
 NameDescription
Public methodCode exampleArchiveArchive existing person. All child persons in tree are archived too.
(Inherited from PersonRepository)
Public methodCode exampleCreateCreate new person.
(Inherited from PersonRepository)
Public methodCode exampleCreatePhoto Creates photo.
(Inherited from PersonRepository)
Public methodCode exampleDeleteDelete existing person. All child persons in tree are deleted too.
(Inherited from PersonRepository)
Public methodCode exampleDeletePhoto Deletes photo.
(Inherited from PersonRepository)
Public methodFilter(Guid, IDictionary<String, Object>) Filter all persons.
(Inherited from PersonRepository)
Public methodFilter(Guid, IDictionary<String, Object>, Int32, Guid) Filter all persons.
(Inherited from PersonRepository)
Public methodFlushCache Flushes all cached data for current repository.
(Inherited from PersonRepositoryV2)
Public methodCode exampleGet(Guid, Properties)Get person by identifier with specified properties.
(Inherited from PersonRepository)
Public methodCode exampleGet(Guid, String)Get person by identifier with specified index properties.
(Inherited from PersonRepository)
Public methodCode exampleGetAll()Gets all persons with none data under Person root, included Person root (Groups and Roles are excluded).
(Inherited from PersonRepository)
Public methodCode exampleGetAll(Guid, Properties)Get all persons under specified root with specified properties.
(Inherited from PersonRepository)
Public methodCode exampleGetAll(Guid, String)Get all persons under specified root with specified prefix properties.
(Inherited from PersonRepository)
Public methodCode exampleGetAll(Guid, Properties, Boolean) GetAll
(Inherited from PersonRepository)
Public methodCode exampleGetAll(Guid, String, Boolean) GetAll
(Inherited from PersonRepository)
Public methodCode exampleGetAllByCategoryGet all by category.
Public methodCode exampleGetAllByProfileGet persons by profile.
Public methodCode exampleGetAllGroupsForChildrenGet all groups where is person assigned.
Public methodCode exampleGetAllOrganizationUnitsGet all organization units.
Public methodCode exampleGetAllParentsGet all parents.
Public methodCode exampleGetAllParentsForChildrenGet all persons parents of all childs.
Public methodCode exampleGetAllParentsWithReferencesGet all parents with references, node is always included.
Public methodCode exampleGetDirectChildrenGet person direct children.
Public methodCode exampleGetLastModifiedByPersonGet last n persons modified by person.
Public methodCode exampleGetPhoto Gets photo.
(Inherited from PersonRepository)
Public methodCode exampleGetPhotoInfo Gets photo information.
(Inherited from PersonRepository)
Public methodCode exampleGetPhotoThumbnail Gets the photo thumbnail.
(Inherited from PersonRepository)
Public methodCode exampleGetPhotoThumbnailInfo Gets photo thumbnail information.
(Inherited from PersonRepository)
Public methodCode exampleImport Imports the list of persons. If a person already exists, they will be updated and if they do not exist, they will be created.
(Inherited from PersonRepository)
Public methodCode exampleRestoreRestores existing person by restore mode.
(Inherited from PersonRepository)
Public methodCode exampleSearch(String)Search person Ids by search text.
Public methodSearch(Guid, IDictionary<String, Object>) Search persons ids.
(Inherited from PersonRepository)
Public methodCode exampleSearchAllSearch presons by search text.
Public methodCode exampleUpdateUpdate existing person.
(Inherited from PersonRepository)
Public methodCode exampleUpdatePhoto Updates photo.
(Inherited from PersonRepository)
Top
Extension Methods
 NameDescription
Public Extension MethodCode exampleToInvariantString To the invariant string.
(Defined by Extensions)
Top
See Also

Reference

Gamanet.C4.SDK Namespace