SPAcl<T>.IEnumerable.GetEnumerator Method
Returns an enumerator that iterates through the access control list (ACL).
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator
'Usage
Dim instance As SPAcl
Dim returnValue As IEnumerator
returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()
Return Value
Type: System.Collections.IEnumerator
An IEnumerator that can be used to iterate the ACL.