Skip to main content
All docs
V23.2
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

UserManager.CreateUser<TUser>(IObjectSpace, IPrincipal, Action<TUser>, Boolean) Method

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Security

Declaration

public UserResult<TUser> CreateUser<TUser>(
    IObjectSpace objectSpace,
    IPrincipal principal,
    Action<TUser> customizeUser = null,
    bool autoCommit = true
)
    where TUser : class, ISecurityUserWithLoginInfo

Parameters

Name Type
objectSpace IObjectSpace
principal IPrincipal

Optional Parameters

Name Type Default
customizeUser Action<TUser> null
autoCommit Boolean True

Type Parameters

Name
TUser

Returns

Type
DevExpress.ExpressApp.Security.UserResult<TUser>
See Also