class PolicyEvaluationInfo
PolicyEvaluationInfo is a SharePoint entity class that represents policy evaluation information in Office 365 SharePoint.
/tf/active/vicechatdev/SPFCsync/venv/lib64/python3.11/site-packages/office365/sharepoint/policy/evaluation_info.py
4 - 5
simple
Purpose
This class serves as a data model for SharePoint policy evaluation information. It inherits from the Entity base class, which provides common functionality for SharePoint entities such as property management, serialization, and interaction with SharePoint REST APIs. The class is currently a placeholder with no additional methods or attributes beyond what it inherits from Entity.
Source Code
class PolicyEvaluationInfo(Entity):
pass
Parameters
| Name | Type | Default | Kind |
|---|---|---|---|
bases |
Entity | - |
Parameter Details
bases: Inherits from Entity class, which is the base class for all SharePoint entities in the office365-sharepoint library. This provides standard entity functionality including property access, REST API communication, and JSON serialization/deserialization.
Return Value
Instantiation returns a PolicyEvaluationInfo object that represents a SharePoint policy evaluation entity. The object inherits all methods and properties from the Entity base class, allowing interaction with SharePoint's REST API endpoints related to policy evaluation.
Class Interface
Dependencies
office365-sharepoint
Required Imports
from office365.sharepoint.policy_evaluation_info import PolicyEvaluationInfo
Usage Example
from office365.sharepoint.client_context import ClientContext
from office365.sharepoint.policy_evaluation_info import PolicyEvaluationInfo
# Authenticate with SharePoint
ctx = ClientContext('https://yourtenant.sharepoint.com/sites/yoursite').with_credentials(
UserCredential('username', 'password')
)
# Create or retrieve PolicyEvaluationInfo instance
policy_info = PolicyEvaluationInfo(ctx)
# Load properties from SharePoint
policy_info.load()
ctx.execute_query()
# Access properties (inherited from Entity)
properties = policy_info.properties
Best Practices
- This class is a placeholder entity and should be instantiated through SharePoint's ClientContext rather than directly
- Always call load() and execute_query() methods to populate entity properties from SharePoint before accessing them
- Use proper authentication and ensure the user has appropriate permissions to access policy evaluation information
- The class inherits from Entity, so familiarize yourself with Entity class methods for property access and manipulation
- This class may be extended in future versions with specific methods and properties related to policy evaluation
Similar Components
AI-powered semantic similarity - components with related functionality:
-
class MembersInfo 63.9% similar
-
class LogFileInfo 63.4% similar
-
class ListItemComplianceInfo 62.1% similar
-
class TopFilesSharingInsights 61.6% similar
-
class SharedDocumentInfo 61.4% similar