.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

PermissionPolicyUser Class

An XAF user who has a list of associated security roles that support the Allow/Deny Permission Policies.

Namespace: DevExpress.Persistent.BaseImpl.PermissionPolicy

Assembly: DevExpress.Persistent.BaseImpl.Xpo.v21.2.dll

Declaration

[ImageName("BO_User")]
[Persistent("PermissionPolicyUser")]
[RuleCriteria("PermissionPolicyUser_XPO_Prevent_delete_logged_in_user", DefaultContexts.Delete, "[Oid] != CurrentUserId()", "Cannot delete the current logged-in user. Please log in using another user account and retry.")]
public class PermissionPolicyUser :
    BaseObject,
    IPermissionPolicyUser,
    ISecurityUser,
    ISecurityUserWithRoles,
    IAuthenticationActiveDirectoryUser,
    IAuthenticationStandardUser

Remarks

Associated roles are exposed via the PermissionPolicyUser.Roles property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PermissionPolicyUser class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also