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