UserPermissionCollection.Add Method

Include Protected Members
Include Inherited Members

Adds a new user to the current form.

Overload List

  Name Description
Public method Add(String) Adds a new user to the current form.
Public method Add(String, PermissionType) Adds a new user with the specified permissions.
Public method Add(String, DateTime) Add a new user to the current form with an expiration date.
Public method Add(String, PermissionType, DateTime) Creates a new set of permissions on the current form for the specified user with the specified permissions and an expiration date.

Top

Remarks

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See Also

Reference

UserPermissionCollection Class

UserPermissionCollection Members

Microsoft.Office.InfoPath Namespace