Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the policy from the collection based on the specified user or group name.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
name As String _
) As SPPolicy
Get
'Usage
Dim instance As SPPolicyCollection
Dim name As String
Dim value As SPPolicy
value = instance.Item(name)
public SPPolicy this[
string name
] { get; }
Parameters
name
Type: System.StringA string that specifies the user or group name of the policy, for example, "DOMAIN\user_alias".
Property value
Type: Microsoft.SharePoint.Administration.SPPolicy
An SPPolicy object that represents the policy.