PyUser
class PyUser(user)
Bases: PyUsernameContent
Interface for a user content item.
- Parameters: user (IUser)
__init__(user)
Creates a new PyUser object.
Args: : user: A IUser object.
Returns: None.
- Parameters: user (IUser)
- Return type: None
Methods
__init__ (user) |
Creates a new PyUser object. |
---|
Attributes
administrator_level |
Gets the user's administrator level derived from SiteRole. |
---|---|
authentication_type |
Gets or sets the authentication type of the user, or null to not send an explicit authentication type for the user during migration. |
can_publish |
Gets the user's publish capability derived from SiteRole. |
content_url |
Get the site-unique "content URL" of the content item, or an empty string if the content type does not use a content URL. |
domain |
Gets the domain this item belongs to. |
email |
Gets or sets the email of the user. |
full_name |
Gets or sets the full name of the user. |
id |
Gets the unique identifier. |
license_level |
Gets the user's license level derived from SiteRole. |
location |
Gets the logical location path of the content item, for project-level content this is the project path and the content item name. |
name |
Gets the name of the content item. |
site_role |
Gets or sets the site role of the user. |
property administrator_level : str
Gets the user’s administrator level derived from SiteRole.
property authentication_type : str
Gets or sets the authentication type of the user, or null to not send an explicit authentication type for the user during migration.
property can_publish : bool
Gets the user’s publish capability derived from SiteRole.
property content_url : str
Get the site-unique “content URL” of the content item, or an empty string if the content type does not use a content URL.
property domain : str
Gets the domain this item belongs to. Changes should be made through mapping.
property email : str
Gets or sets the email of the user.
property full_name : str
Gets or sets the full name of the user.
property id : UUID
Gets the unique identifier.
property license_level : str
Gets the user’s license level derived from SiteRole.
property location : PyContentLocation
Gets the logical location path of the content item, for project-level content this is the project path and the content item name.
property name : str
Gets the name of the content item. This is equivalent to the last segment of the Location. Renames should be performed through mapping.
property site_role : str
Gets or sets the site role of the user.