SingleSignonPermissionAttribute Class

The SingleSignonPermissionAttribute class allows security actions for SingleSignOnPermission to be applied to code using declarative security. This class cannot be inherited.

System.Security.Permissions.CodeAccessSecurityAttribute

Microsoft.SharePoint.Portal.SingleSignon.Security.SingleSignonPermissionAttribute

Public Constructors

The following table shows the constructors of the SingleSignonPermissionAttribute class and a brief description of each.

Name Description
SingleSignonPermissionAttribute Initializes a new instance of the SingleSignonPermissionAttribute class.

Public Methods

The following table shows the public methods of the SingleSignonPermissionAttribute class and a brief description of each.

Name Description
CreatePermission Creates and returns a new SharePointPermission object.

Public Properties

The following table shows the properties of the SingleSignonPermissionAttribute class, the data type of each property, and a brief description of each.

Name Data Type Description
Access Microsoft.SharePoint.Portal.SingleSignon.Security.SingleSignonAccess Gets or sets the level of access that this SingleSignonPermissionAttribute object has. For more information about the level of access, see SingleSignonAccess enumeration.
Unrestricted Boolean Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

Thread Safety

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

Remarks

The scope of the declaration that is allowed depends on the SecurityAction that is used.

The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class.

Requirements

Namespace: Microsoft.SharePoint.Portal.SingleSignon.Security

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal.SingleSignon.Security (in Microsoft.SharePoint.Portal.SingleSignon.Security.dll)

Security: Code Access Security