Skip to content

Commit 436fef8

Browse files
committed
add descriptions
1 parent 8334309 commit 436fef8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

powerapps-docs/developer/data-platform/security-access-coding.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,18 +272,18 @@ Use these messages to retrieve privileges by privilege ID or name. They include
272272

273273
| Message | Web API function<br/>SDK request class |
274274
| --- | --- |
275-
|`RetrieveUserPrivilegeByPrivilegeId`| [RetrieveUserPrivilegeByPrivilegeId Function](xref:Microsoft.Dynamics.CRM.RetrieveUserPrivilegeByPrivilegeId)<br/>[RetrieveUserPrivilegeByPrivilegeIdRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveUserPrivilegeByPrivilegeIdRequest)|
276-
|`RetrieveUserPrivilegeByPrivilegeName`| [RetrieveUserPrivilegeByPrivilegeName Function](xref:Microsoft.Dynamics.CRM.RetrieveUserPrivilegeByPrivilegeName)<br/>[RetrieveUserPrivilegeByPrivilegeNameRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveUserPrivilegeByPrivilegeNameRequest)|
277-
|`RetrieveUserSetOfPrivilegesByIds`|[RetrieveUserSetOfPrivilegesByIds Function](xref:Microsoft.Dynamics.CRM.RetrieveUserSetOfPrivilegesByIds)<br/>[RetrieveUserSetOfPrivilegesByIdsRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveUserSetOfPrivilegesByIdsRequest)|
278-
|`RetrieveUserSetOfPrivilegesByNames`|[RetrieveUserSetOfPrivilegesByNames Function](xref:Microsoft.Dynamics.CRM.RetrieveUserSetOfPrivilegesByNames)<br/>[RetrieveUserSetOfPrivilegesByNamesRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveUserSetOfPrivilegesByNamesRequest)|
275+
|`RetrieveUserPrivilegeByPrivilegeId`<br/>Retrieves the list of privileges for a system user (user) from all direct roles associated with the system user and from all indirect roles associated with teams in which the system user is a member of based on the specified privilege ID.| [RetrieveUserPrivilegeByPrivilegeId Function](xref:Microsoft.Dynamics.CRM.RetrieveUserPrivilegeByPrivilegeId)<br/>[RetrieveUserPrivilegeByPrivilegeIdRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveUserPrivilegeByPrivilegeIdRequest)|
276+
|`RetrieveUserPrivilegeByPrivilegeName`<br/>Retrieves the list of privileges for a system user (user) from all direct roles associated with the system user and from all indirect roles associated with teams in which the system user is a member of based on the specified privilege name.| [RetrieveUserPrivilegeByPrivilegeName Function](xref:Microsoft.Dynamics.CRM.RetrieveUserPrivilegeByPrivilegeName)<br/>[RetrieveUserPrivilegeByPrivilegeNameRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveUserPrivilegeByPrivilegeNameRequest)|
277+
|`RetrieveUserSetOfPrivilegesByIds`<br/>Retrieves the filtered privileges a system user (user) has through their roles in the specified business unit.|[RetrieveUserSetOfPrivilegesByIds Function](xref:Microsoft.Dynamics.CRM.RetrieveUserSetOfPrivilegesByIds)<br/>[RetrieveUserSetOfPrivilegesByIdsRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveUserSetOfPrivilegesByIdsRequest)|
278+
|`RetrieveUserSetOfPrivilegesByNames`<br/>Retrieves the filtered privileges a system user (user) has through his or her roles in the specified business unit.|[RetrieveUserSetOfPrivilegesByNames Function](xref:Microsoft.Dynamics.CRM.RetrieveUserSetOfPrivilegesByNames)<br/>[RetrieveUserSetOfPrivilegesByNamesRequest Class](xref:Microsoft.Crm.Sdk.Messages.RetrieveUserSetOfPrivilegesByNamesRequest)|
279279

280280
### Example: Check whether a user has a privilege
281281

282282
The following examples show the use of the `RetrieveUserPrivilegeByPrivilegeName` message. This message retrieves the list of privileges for a system user (user) from all direct roles associated with the system user and from all indirect roles associated with teams in which the system user is a member of based on the specified privilege name.
283283

284284
#### [.NET SDK](#tab/sdk)
285285

286-
The following `HasPrivilege` static method returns the [RolePrivilege](xref:Microsoft.Crm.Sdk.Messages.RolePrivilege) data for a given privilege name.
286+
The following `HasPrivilege` static method returns whether the user has the named privilege.
287287

288288
```csharp
289289
/// <summary>

0 commit comments

Comments
 (0)