MCPcopy Create free account
hub / github.com/dfinity/orbit / User

Class User

core/station/impl/src/models/user.rs:21–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#[storable]
20#[derive(CandidType, Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
21pub struct User {
22 /// The user id, which is a UUID.
23 pub id: UserId,
24 /// The name of the user (if any).
25 pub name: String,
26 /// The user status within the system (e.g. active, inactive, etc.)
27 pub status: UserStatus,
28 /// The identities associated with the user.
29 pub identities: Vec<Principal>,
30 /// The groups the user is a member of (e.g. Finance Team, Admin, etc.)
31 pub groups: Vec<UUID>,
32 /// The last time the record was updated or created.
33 pub last_modification_timestamp: Timestamp,
34}
35
36#[storable]
37#[derive(Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]

Callers 13

user_has_access_to_anyFunction · 0.50
fromMethod · 0.50
fromMethod · 0.50
list_usersMethod · 0.50
test_repository_crudFunction · 0.50
test_find_by_criteriaFunction · 0.50
test_repository_crudFunction · 0.50
test_find_by_criteriaFunction · 0.50

Calls

no outgoing calls

Tested by 6

test_repository_crudFunction · 0.40
test_find_by_criteriaFunction · 0.40
test_repository_crudFunction · 0.40
test_find_by_criteriaFunction · 0.40