RightsSensitiveVisibilityHelper.UserHasRights RightsSensitiveVisibilityHelper.UserHasRights Method

Definition

Overloads

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

UserHasRights(PermissionContext, SPBasePermissions, PermissionMode, 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);
Parameters
contextList
SPList SPList
Returns

UserHasRights(PermissionContext, SPBasePermissions, PermissionMode, SPContext, SPWeb, SPList) 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);
Parameters
contextWeb
SPWeb SPWeb
contextList
SPList SPList
Returns

Applies to