users
User
A user.
email: Optional[str] = Field(None, title='Email')
class-attribute
instance-attribute
firstname: Optional[str] = Field(None, title='Firstname')
class-attribute
instance-attribute
lastname: Optional[str] = Field(None, title='Lastname')
class-attribute
instance-attribute
middlename: Optional[str] = Field(None, title='Middlename')
class-attribute
instance-attribute
name: str = Field(..., title='Name')
class-attribute
instance-attribute
otherPhones: Optional[str] = Field(None, title='Otherphones')
class-attribute
instance-attribute
uid: int = Field(..., title='Uid')
class-attribute
instance-attribute
workphone: Optional[str] = Field(None, title='Workphone')
class-attribute
instance-attribute
client: Optional[Client]
instance-attribute
email: Optional[str] = Field(None, title='Email')
class-attribute
instance-attribute
firstname: Optional[str] = Field(None, title='Firstname')
class-attribute
instance-attribute
lastname: Optional[str] = Field(None, title='Lastname')
class-attribute
instance-attribute
middlename: Optional[str] = Field(None, title='Middlename')
class-attribute
instance-attribute
model_config = ConfigDict(arbitrary_types_allowed=True)
class-attribute
instance-attribute
name: str = Field(..., title='Name')
class-attribute
instance-attribute
otherPhones: Optional[str] = Field(None, title='Otherphones')
class-attribute
instance-attribute
uid: int = Field(..., title='Uid')
class-attribute
instance-attribute
workphone: Optional[str] = Field(None, title='Workphone')
class-attribute
instance-attribute
clients()
Get information about the authenticated user's SFAPI clients.
Returns:
Type | Description |
---|---|
List[Client]
|
the api clients |
Source code in sfapi_client/_sync/users.py
groups()
The groups that the user is a member of.
Returns:
Type | Description |
---|---|
List[Group]
|
the groups |
Source code in sfapi_client/_sync/users.py
projects()
The projects the user is associate with.
Returns:
Type | Description |
---|---|
List[Project]
|
the projects |
Source code in sfapi_client/_sync/users.py
roles()
The roles the user is associate with.
Returns:
Type | Description |
---|---|
List[Role]
|
the roles |