Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UserPermissionObject Interface

Represents a member of the current form's Permission collection.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
public interface UserPermissionObject : UserPermission

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeUserPermission.

The UserPermissionObject object associates a set of permissions for the current form with a single user and an optional expiration date.

Define a user and the permissions associated with that user with the properties of the UserPermission class, and then use the Add method of the Permission object to add and grant that user permissions on the current form. Use theRemove method of the UserPermission object to remove a user and the user's permissions.

While some permissions granted through the user interface apply to all users, such as printing and expiration date, you can use the UserPermission object to assign them on a per-user basis with per-user expiration dates.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.