Classe RetrieveUserPrivilegesRequest
Aplica-se a: CRM 2015 on-prem, CRM Online
Contains the data needed to retrieve the privileges a system user (user) has through his or her roles in the specified business unit.
Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (em Microsoft.Crm.Sdk.Proxy.dll)
Sintaxe
'Declaração
<DataContractAttribute(Namespace:="https://schemas.microsoft.com/crm/2011/Contracts")> _
Public NotInheritable Class RetrieveUserPrivilegesRequest
Inherits OrganizationRequest
[DataContractAttribute(Namespace="https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RetrieveUserPrivilegesRequest : OrganizationRequest
Exemplo
The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface. For the complete sample, see the link later in this topic.
Comentários
Message Availability
Esta mensagem funciona independentemente de o chamador estar conectado ao servidor ou offline.
Usage
Pass an instance of this class to the Execute method, which returns an instance of RetrieveUserPrivilegesResponse.
Privileges and Access Rights
To perform this action, the caller must have privileges on the Privileges entity and access rights on the record specified in the UserId property. For a complete list of the privileges required, see RetrieveUserPrivileges Privileges.
Hierarquia de Herança
System.Object
Microsoft.Xrm.Sdk.OrganizationRequest
Microsoft.Crm.Sdk.Messages.RetrieveUserPrivilegesRequest
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Membros de RetrieveUserPrivilegesRequest
Namespace Microsoft.Crm.Sdk.Messages
RetrieveUserPrivilegesResponse
Outros recursos
SystemUser (User) Entity Messages and Methods
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.