SPElementDefinition.GetRootAttrAsPermissions method
Returns the value of the specified root attribute as a SharePoint Foundation permission.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Function GetRootAttrAsPermissions ( _
attrName As String _
) As SPBasePermissions
'Usage
Dim attrName As String
Dim returnValue As SPBasePermissions
returnValue = Me.GetRootAttrAsPermissions(attrName)
protected SPBasePermissions GetRootAttrAsPermissions(
string attrName
)
Parameters
attrName
Type: System.StringA string that specifies the name of the attribute.
Return value
Type: Microsoft.SharePoint.SPBasePermissions
An SPBasePermissions value that indicates the permission.