PyGroup
class PyGroup(group)
Bases: PyUsernameContent
Interface for a group content item.
- Parameters: group (IGroup)
__init__(group)
Creates a new PyGroup object.
Args: : group: A IGroup object.
Returns: None.
- Parameters: group (IGroup)
- Return type: None
Methods
__init__ (group) |
Creates a new PyGroup object. |
---|
Attributes
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. |
grant_license_mode |
Gets the grant license mode of the group. |
id |
Gets the unique identifier. |
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 the site role of the group. |
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 grant_license_mode : str
Gets the grant license mode of the group.
property id : UUID
Gets the unique identifier.
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 the site role of the group.