Share via


SPAclSecurity<TAccessRightsEnum>.ToAcl method

Returns an [SPAcl] for the security object.

Namespace:  Microsoft.SharePoint.Administration.AccessControl
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function ToAcl As SPAcl(Of TAccessRightsEnum)
'Usage
Dim instance As SPAclSecurity
Dim returnValue As SPAcl(Of TAccessRightsEnum)

returnValue = instance.ToAcl()
public SPAcl<TAccessRightsEnum> ToAcl()

Return value

Type: Microsoft.SharePoint.Administration.SPAcl<TAccessRightsEnum>
Returns SPAcl<T>.

See also

Reference

SPAclSecurity<TAccessRightsEnum> class

SPAclSecurity<TAccessRightsEnum> members

Microsoft.SharePoint.Administration.AccessControl namespace