Share via


UserInclusionList Class (2007 System)

Represents the user inclusion list, and enables you to add entries, remove entries, and check whether a particular entry is in the list. This class cannot be inherited.

Namespace:  Microsoft.VisualStudio.Tools.Office.Runtime.Security
Assembly:  Microsoft.VisualStudio.Tools.Office.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Office.Runtime.v9.0.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class UserInclusionList
'Usage
You do not need to declare an instance of a static class in order to access its members.
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public static class UserInclusionList
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class UserInclusionList abstract sealed
public final class UserInclusionList

Remarks

The UserInclusionList is a list of trusted Visual Studio Tools for Office solutions for the 2007 Microsoft Office system. 

Use Add to add entries that represent trusted solutions.

Use Remove to remove entries.

Use Contains to test whether an entry exists.

Each inclusion list entry is represented by an instance of the AddInSecurityEntry class.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Office.Runtime.Security.UserInclusionList

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

UserInclusionList Members

Microsoft.VisualStudio.Tools.Office.Runtime.Security Namespace

Other Resources

Trusting Office Solutions by Using Inclusion Lists (2007 System)

How to: Add or Remove Inclusion List Entries (2007 System)

Security in Office Solutions (2007 System)