SPAclAccessRule<TRightsEnum> constructor (IdentityReference, 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 ( _
identityReference As IdentityReference, _
allowedRights As TRightsEnum _
)
'Usage
Dim identityReference As IdentityReference
Dim allowedRights As TRightsEnum
Dim instance As New SPAclAccessRule(identityReference, _
allowedRights)
public SPAclAccessRule(
IdentityReference identityReference,
TRightsEnum allowedRights
)
Parameters
identityReference
Type: System.Security.Principal.IdentityReferenceThe [IdentityReference] representing the subject of the access rule.
allowedRights
Type: TRightsEnumThe rights allowed by the rule.
See also
Reference
SPAclAccessRule<TRightsEnum> class
SPAclAccessRule<TRightsEnum> members