Account pipeline
AssignCustomer
Order | Pipe | Description |
---|---|---|
100 | AssignCustomer | If customer is not yet assigned to user then assign customer. |
CreateGetAccountResult
Order | Pipe | Description |
---|---|---|
100 | CreateGetAccountResult | Creates GetAccountResult object and fills next fields: UserProfile - uses parameter.UserProfile IsSubscribed - checks if parameter.UserProfile.Email is subscribed to list IsLockedOut - uses parameter.UserProfile. IsDeactivatedCanApproveOrders - checks that user has one of next roles: Administrator or Buyer3 CanViewApprovalOrders - checks that user has one of next roles: Administrator, Buyer1, Buyer2, Buyer3 Role - uses first user standard role |
200 | CopyCustomPropertiesToResult | Copies custom properties from parameter.UserProfile to createdGetAccountResult. |
GetCustomLandingPage
Order | Pipe | Description |
---|---|---|
100 | GetCustomLandingPage | Returns custom landing page for specified customer. If customer is not specified then returns null. If customer CustomLandingPage property is blank then returns empty string. Else returns customer CustomLandingPage property. If user located at microsite then microsite prefix will be added to page url. |
GetRoleName
Order | Pipe | Description |
---|---|---|
100 | GetRoleName | Returns first standard role which user has. If user has no standard roles then returns empty string. |
GetRoles
Order | Pipe | Description |
---|---|---|
100 | GetRoles | Returns GetRolesResult object with next fields:
|
SetRole
Order | Pipe | Description |
---|---|---|
100 | SetRole | Sets role to user. A user can only be assigned to one standard role, so if the role to set is one of the standard roles removes the current standard role and adds the new one. |
UnassignCustomer
Order | Pipe | Description |
---|---|---|
100 | UnassignCustomer | Unassigns specified customer from specified user if user has this customer. |
Updated over 1 year ago
Next