Share via


SiteAccessChecker.DemandSiteRightByName Method

NOTE: This API is now obsolete.

Obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Sub DemandSiteRightByName ( _
    UserName As String _
)
'Usage
Dim instance As SiteAccessChecker
Dim UserName As String

instance.DemandSiteRightByName(UserName)
[ObsoleteAttribute("This class is obsolete.")]
public void DemandSiteRightByName(
    string UserName
)

Parameters

See Also

Reference

SiteAccessChecker Class

SiteAccessChecker Members

Microsoft.SharePoint.Portal.Security Namespace