PersonRepository Class

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

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

The PersonRepository type exposes the following members.

Methods
 NameDescription
Public methodCode exampleArchiveArchive existing person. All child persons in tree are archived too.
Public methodCode exampleCreateCreate new person.
Public methodCode exampleCreatePhoto Creates photo.
Public methodCode exampleDeleteDelete existing person. All child persons in tree are deleted too.
Public methodCode exampleDeletePhoto Deletes photo.
Public methodFilter(Guid, IDictionary<String, Object>) Filter all persons.
Public methodFilter(Guid, IDictionary<String, Object>, Int32, Guid) Filter all persons.
Public methodCode exampleGet(Guid, Properties)Get person by identifier with specified properties.
Public methodCode exampleGet(Guid, String)Get person by identifier with specified index properties.
Public methodCode exampleGetAll()Gets all persons with none data under Person root, included Person root (Groups and Roles are excluded).
Public methodCode exampleGetAll(Guid, Properties)Get all persons under specified root with specified properties.
Public methodCode exampleGetAll(Guid, String)Get all persons under specified root with specified prefix properties.
Public methodCode exampleGetAll(Guid, Properties, Boolean) GetAll
Public methodCode exampleGetAll(Guid, String, Boolean) GetAll
Public methodCode exampleGetPhoto Gets photo.
Public methodCode exampleGetPhotoInfo Gets photo information.
Public methodCode exampleGetPhotoThumbnail Gets the photo thumbnail.
Public methodCode exampleGetPhotoThumbnailInfo Gets photo thumbnail information.
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.
Public methodCode exampleRestoreRestores existing person by restore mode.
Public methodSearch Search persons ids.
Public methodCode exampleUpdateUpdate existing person.
Public methodCode exampleUpdatePhoto Updates photo.
Top
Extension Methods
 NameDescription
Public Extension MethodCode exampleToInvariantString To the invariant string.
(Defined by Extensions)
Top
See Also

Reference

Gamanet.C4.SDK Namespace