SPPrincipal.Roles property
NOTE: This API is now obsolete.
Obtém a coleção de funções associadas a entidade.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
<ObsoleteAttribute("Use the SPRoleAssignment class instead")> _
Public ReadOnly Property Roles As SPRoleCollection
Get
'Uso
Dim instance As SPPrincipal
Dim value As SPRoleCollection
value = instance.Roles
[ObsoleteAttribute("Use the SPRoleAssignment class instead")]
public SPRoleCollection Roles { get; }
Property value
Type: Microsoft.SharePoint.SPRoleCollection
Um objeto SPRoleCollection que representa as funções.