UserPolicy Class

The UserPolicy class contains information about user policies, such as quotas and default behaviors.

System.Object

   Microsoft.SharePoint.Portal.Alerts.UserPolicy

Public Methods

The following table shows the methods of the UserPolicy class and a brief description of each.

Name Description
Reload Reloads values for this class.

Public Properties

The following table shows the properties of the UserPolicy class, the data type of each property, and a brief description of each.

Name Data type Description
ExceededBooleanAlertsQuota Boolean Gets a flag that indicates that the quota for Boolean alerts was exceeded for this user.
ExceededRankAlertsQuota Boolean Gets a flag that indicates that the quota for ranked alerts was exceeded for this user.
ExceededSiteBooleanAlertsQuota Boolean Gets a flag that indicates that the quota for Boolean alerts was exceeded for this portal site.
ExceededSiteRankAlertsQuota Boolean Gets a flag that indicates that the quota for ranked alerts was exceeded for this portal site.
LockEmailAddress Boolean Gets a flag that indicates whether a user can change the e-mail address to which notifications are sent.
MaxBooleanAlertsPerSite Int32 Gets the maximum number of Boolean alerts that are allowed for a portal site.
MaxBooleanAlertsPerUser Int32 Gets the maximum number of Boolean alerts that are allowed for a user.
MaxRankAlertsPerSite Int32 Gets the maximum number of ranked alerts that are allowed for a portal site.
MaxRankAlertsPerUser Int32 Gets the maximum number of results that are returned for a user's ranked alert.
MaxResultsPerAlert Int32 Gets the maximum number of results that are returned for a user's alert.
ProfileFieldToEmail String Gets the user profile field that contains the e-mail address that is displayed on the alert creation page.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

You must be logged on as an administrator or a member of the SharePoint administrators group to use this object. You must use the Administration and AlertManager objects to change the settings represented in this class.

Requirements

Namespace: Microsoft.SharePoint.Portal.Alerts

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security