RightsSensitiveVisibilityHelper.UserHasRights Method

Definition

Overloads

UserHasRights(PermissionContext, SPBasePermissions, PermissionMode, SPList)
UserHasRights(PermissionContext, SPBasePermissions, PermissionMode, SPContext, SPWeb, SPList)

UserHasRights(PermissionContext, SPBasePermissions, PermissionMode, SPList)

public:
 static bool UserHasRights(Microsoft::SharePoint::Utilities::PermissionContext permissionContext, Microsoft::SharePoint::SPBasePermissions permissions, Microsoft::SharePoint::Utilities::PermissionMode permissionMode, Microsoft::SharePoint::SPList ^ contextList);
public static bool UserHasRights (Microsoft.SharePoint.Utilities.PermissionContext permissionContext, Microsoft.SharePoint.SPBasePermissions permissions, Microsoft.SharePoint.Utilities.PermissionMode permissionMode, Microsoft.SharePoint.SPList contextList);
static member UserHasRights : Microsoft.SharePoint.Utilities.PermissionContext * Microsoft.SharePoint.SPBasePermissions * Microsoft.SharePoint.Utilities.PermissionMode * Microsoft.SharePoint.SPList -> bool

Parameters

permissionContext
PermissionContext
permissions
SPBasePermissions
permissionMode
PermissionMode
contextList
SPList

Returns

Boolean

Applies to

UserHasRights(PermissionContext, SPBasePermissions, PermissionMode, SPContext, SPWeb, SPList)

public:
 static bool UserHasRights(Microsoft::SharePoint::Utilities::PermissionContext permissionContext, Microsoft::SharePoint::SPBasePermissions permissions, Microsoft::SharePoint::Utilities::PermissionMode permissionMode, Microsoft::SharePoint::SPContext ^ context, Microsoft::SharePoint::SPWeb ^ contextWeb, Microsoft::SharePoint::SPList ^ contextList);
public static bool UserHasRights (Microsoft.SharePoint.Utilities.PermissionContext permissionContext, Microsoft.SharePoint.SPBasePermissions permissions, Microsoft.SharePoint.Utilities.PermissionMode permissionMode, Microsoft.SharePoint.SPContext context, Microsoft.SharePoint.SPWeb contextWeb, Microsoft.SharePoint.SPList contextList);
static member UserHasRights : Microsoft.SharePoint.Utilities.PermissionContext * Microsoft.SharePoint.SPBasePermissions * Microsoft.SharePoint.Utilities.PermissionMode * Microsoft.SharePoint.SPContext * Microsoft.SharePoint.SPWeb * Microsoft.SharePoint.SPList -> bool

Parameters

permissionContext
PermissionContext
permissions
SPBasePermissions
permissionMode
PermissionMode
context
SPContext
contextWeb
SPWeb
contextList
SPList

Returns

Boolean

Applies to