PermissionObjectClass.Add method
This type is a wrapper for a coclass or coclass member that is required by managed code for COM interoperability. This class is not intended to be used in code.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
Public Overridable Function Add ( _
bstrUserId As String, _
varPermission As Object, _
varExpirationDate As Object _
) As UserPermissionObject
'Usage
Dim instance As PermissionObjectClass
Dim bstrUserId As String
Dim varPermission As Object
Dim varExpirationDate As Object
Dim returnValue As UserPermissionObject
returnValue = instance.Add(bstrUserId, _
varPermission, varExpirationDate)
public virtual UserPermissionObject Add(
string bstrUserId,
Object varPermission,
Object varExpirationDate
)
Parameters
- bstrUserId
Type: System.String
- varPermission
Type: System.Object
- varExpirationDate
Type: System.Object
Return value
Type: Microsoft.Office.Interop.InfoPath.UserPermissionObject
Implements
Permission.Add(String, Object, Object)