SPAclAccessRule<TRightsEnum> constructor (SPClaim, TRightsEnum)
Initializes a new instance of the [SPAclAccessRule] class.
Namespace: Microsoft.SharePoint.Administration.AccessControl
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
claim As SPClaim, _
allowedRights As TRightsEnum _
)
'Usage
Dim claim As SPClaim
Dim allowedRights As TRightsEnum
Dim instance As New SPAclAccessRule(claim, allowedRights)
public SPAclAccessRule(
SPClaim claim,
TRightsEnum allowedRights
)
Parameters
claim
Type: Microsoft.SharePoint.Administration.Claims.SPClaimThe [SPClaim] representing the subject of the access rule.
allowedRights
Type: TRightsEnumThe rights granted to the principal.
See also
Reference
SPAclAccessRule<TRightsEnum> class
SPAclAccessRule<TRightsEnum> members