Share via


Role Class

NOTE: This API is now obsolete.

Use classes in the Microsoft.SharePoint namespace in Windows SharePoint Services 3.0 instead.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Portal.Security.Role

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class Role _
    Implements IMember
'Usage
Dim instance As Role
[ObsoleteAttribute("This class is obsolete.")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class Role : IMember

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

Role Members

Microsoft.SharePoint.Portal.Security Namespace