/
UserPermissionObject.xml
36 lines (36 loc) · 3.06 KB
/
UserPermissionObject.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<Type Name="UserPermissionObject" FullName="Microsoft.Office.Interop.InfoPath.UserPermissionObject">
<TypeSignature Language="C#" Value="public interface UserPermissionObject : Microsoft.Office.Interop.InfoPath.UserPermission" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract UserPermissionObject implements class Microsoft.Office.Interop.InfoPath.UserPermission" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.UserPermissionObject" />
<TypeSignature Language="VB.NET" Value="Public Interface UserPermissionObject
Implements UserPermission" />
<TypeSignature Language="C++ CLI" Value="public interface class UserPermissionObject : Microsoft::Office::Interop::InfoPath::UserPermission" />
<TypeSignature Language="F#" Value="type UserPermissionObject = interface
 interface UserPermission" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Office.Interop.InfoPath.UserPermission</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.CoClass(typeof(Microsoft.Office.Interop.InfoPath.UserPermissionObjectClass))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("096CD6CB-0786-11D1-95FA-0080C78EE3BB")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a member of the current form's <see cref="T:Microsoft.Office.Interop.InfoPath.Permission" /> collection.</summary>
<remarks>
<para>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, see<see cref="T:Microsoft.Office.Interop.InfoPath.UserPermission" />.</para>
<para>The <b>UserPermissionObject</b> object associates a set of permissions for the current form with a single user and an optional expiration date.</para>
<para>Define a user and the permissions associated with that user with the properties of the <b>UserPermission</b> class, and then use the <see cref="M:Microsoft.Office.Interop.InfoPath.SemiTrust.Permission.Add(System.String,System.Object,System.Object)" /> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.Permission" /> object to add and grant that user permissions on the current form. Use the<see cref="M:Microsoft.Office.Interop.InfoPath.SemiTrust.UserPermission.Remove" /> method of the <b>UserPermission</b> object to remove a user and the user's permissions.</para>
<para>While some permissions granted through the user interface apply to all users, such as printing and expiration date, you can use the <b>UserPermission</b> object to assign them on a per-user basis with per-user expiration dates.</para>
<para />
</remarks>
</Docs>
<Members />
</Type>