Person |
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
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
| 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..
(Inherited from PersonRepositoryV2) |
Methods
| Name | Description | |
|---|---|---|
| Archive | Archive existing person. All child persons in tree are archived too. (Inherited from PersonRepository) | |
| Create | Create new person. (Inherited from PersonRepository) | |
| CreatePhoto |
Creates photo.
(Inherited from PersonRepository) | |
| Delete | Delete existing person. All child persons in tree are deleted too. (Inherited from PersonRepository) | |
| DeletePhoto |
Deletes photo.
(Inherited from PersonRepository) | |
| Filter(Guid, IDictionary<String, Object>) |
Filter all persons.
(Inherited from PersonRepository) | |
| Filter(Guid, IDictionary<String, Object>, Int32, Guid) |
Filter all persons.
(Inherited from PersonRepository) | |
| FlushCache |
Flushes all cached data for current repository.
(Inherited from PersonRepositoryV2) | |
| Get(Guid, Properties) | Get person by identifier with specified properties. (Inherited from PersonRepository) | |
| Get(Guid, String) | Get person by identifier with specified index properties. (Inherited from PersonRepository) | |
| GetAll() | Gets all persons with none data under Person root, included Person root (Groups and Roles are excluded). (Inherited from PersonRepository) | |
| GetAll(Guid, Properties) | Get all persons under specified root with specified properties. (Inherited from PersonRepository) | |
| GetAll(Guid, String) | Get all persons under specified root with specified prefix properties. (Inherited from PersonRepository) | |
| GetAll(Guid, Properties, Boolean) |
GetAll
(Inherited from PersonRepository) | |
| GetAll(Guid, String, Boolean) |
GetAll
(Inherited from PersonRepository) | |
| GetAllByCategory | Get all by category. | |
| GetAllByProfile | Get persons by profile. | |
| GetAllGroupsForChildren | Get all groups where is person assigned. | |
| GetAllOrganizationUnits | Get all organization units. | |
| GetAllParents | Get all parents. | |
| GetAllParentsForChildren | Get all persons parents of all childs. | |
| GetAllParentsWithReferences | Get all parents with references, node is always included. | |
| GetDirectChildren | Get person direct children. | |
| GetLastModifiedByPerson | Get last n persons modified by person. | |
| GetPhoto |
Gets photo.
(Inherited from PersonRepository) | |
| GetPhotoInfo |
Gets photo information.
(Inherited from PersonRepository) | |
| GetPhotoThumbnail |
Gets the photo thumbnail.
(Inherited from PersonRepository) | |
| GetPhotoThumbnailInfo |
Gets photo thumbnail information.
(Inherited from PersonRepository) | |
| Import |
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) | |
| Restore | Restores existing person by restore mode. (Inherited from PersonRepository) | |
| Search(String) | Search person Ids by search text. | |
| Search(Guid, IDictionary<String, Object>) |
Search persons ids.
(Inherited from PersonRepository) | |
| SearchAll | Search presons by search text. | |
| Update | Update existing person. (Inherited from PersonRepository) | |
| UpdatePhoto |
Updates photo.
(Inherited from PersonRepository) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToInvariantString |
To the invariant string.
(Defined by Extensions) |
See Also