The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v19.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
<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
    Inherits BaseObject
    Implements IPermissionPolicyUser,
               ISecurityUser,
               ISecurityUserWithRoles,
               IAuthenticationActiveDirectoryUser,
               IAuthenticationStandardUser
[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
<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
    Inherits BaseObject
    Implements IPermissionPolicyUser,
               ISecurityUser,
               ISecurityUserWithRoles,
               IAuthenticationActiveDirectoryUser,
               IAuthenticationStandardUser
[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
<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
    Inherits BaseObject
    Implements IPermissionPolicyUser,
               ISecurityUser,
               ISecurityUserWithRoles,
               IAuthenticationActiveDirectoryUser,
               IAuthenticationStandardUser

Remarks

Associated roles are exposed via the PermissionPolicyUser.Roles property.

Inheritance

See Also