SPAcl<T>.Remove Method (String)

Removes the specified principal from the access control list based on the specified principal name.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub Remove ( _
    principalName As String _
)
'Usage
Dim instance As SPAcl
Dim principalName As String

instance.Remove(principalName)
public void Remove(
    string principalName
)

Parameters

  • principalName
    Type: System.String

    A string that contains the name of the principal to remove.

See Also

Reference

SPAcl<T> Class

SPAcl<T> Members

Remove Overload

Microsoft.SharePoint.Administration Namespace