How to assign a business account to user in acumatica? - acumatica

I am trying to assign an Business account to an user and not able to figure out how to do it.

I believe you are trying to customize Catalog form (SP700000) on Acumatica Portal site and getting Your user profile is not associated with any Business Account message.
Associated business account check is done in constructor of the InventoryLineMaint Graph linked to this page and if not found; exception is raised which is correct by design. And that’s the reason you are seeing this message.
To customize this screen using Acumatica Customization Browser, you should create an admin Portal user who is associated with business account.
Allow roles Customizer and Portal Admin for External User Type. You need to check Guest Role for these two in order to add here.
Step # 1
Login to ERP using admin credential, navigate to User Roles screen (SM201005), and check Guest Role for Customizer and Portal Admin roles in order to add them on EP202500.
Step # 2
Now navigate to User Types screen (EP202500), and select External User Type. Modify to allow roles Customizer and Portal Admin for External User Type.
Step # 3
Now create External user.
Navigate to Customers Screen (AR303000) and select ABARTENDE customer. Go to Contacts tab and open up existing Contact - Kabuk Fadi, Mr. (CR302000) Navigate to User Info tab and setup External user as below.
Step # 4
Now login to Portal site using this user. You should be able to customize page SP700000 via Acumatica Customization Browser.

Related

Restricting admin acces to Azure Ad B2C User data

We have 3 people that need access to our Azure B2C portal pages. How granular are the permissions on the Profile page and All Users page?
We want to restrict the visibility of a User's first name and last name to a single administrator.
Can the User "Profile" page be restricted whilst the "All Users" page is still available to the whole admin team?
Is it possible to set visibility controls on specific fields? That would allow us to have the Profile page available but the fname and lname as hidden fields.
You cannot control the visibility of the fields in the Azure Portal in this way. Yuo can only control which fields can be modified based on the Azure AD Admin role of the user.
The only option to provide more granular access would be to surface your own Admin tool built on top of the MS Graph API.
Or there maybe a solution which a partner offers.

Adding an Event in Acumatica B2B Portal customization

I am trying to add an Event to Acumatica B2B catalog through customization and it is looking for business account attached to admin login.
Is the business account must for customization?
Associated business account check is done in constructor of the InventoryLineMaint Graph linked to Catalog form (SP700000) page and if not found; exception is raised which is correct by design.
How to assign a business account to user in acumatica? has step by step instructions to customize Catalog form (SP700000) on Acumatica Portal site.

Sitecore website: show/hide menu items based on logged in user role

I'm building a sitecore 7.2 using asp.net MVC 5.0. The site will have login and each user will be roles.
We need to show/hide the site menu items based on logged in user Roles. The user detail and roles are stored in SAP backend.
Could someone please advise what's the best way to achieve above?
Essentially you will want to map the roles stored in your backend system to Sitecore Roles. Potentially look into creating a custom Role Provider (see in document below)
Once logged in, requests are made to Sitecore are made in context of that logged in user. Therefore if the user, or their role, does not have permission to view an Item, it will not be returned in the request. This effect means that your Menu will not display items they do not have permission to access.
You and Content Editors can control what users and roles can access via the Security Editor and view their access rights via the Access Viewer in the Content Editor.
This documents will have everything you need - http://sdn.sitecore.net/upload/sitecore6/sc61keywords/security_api_cookbook_usletter.pdf
http://sdn.sitecore.net/upload/sitecore6/securityadministratorscookbook-usletter.pdf
Its also worth noting that Sitecore's seucirty manages roles as Ors. So if one of the user's role has permission to see an Item, then the user can see it.
If you require the roles to be Ands; every role must have permission before its displayed to the user, check this post out - http://www.sitecore.net/learn/blogs/technical-blogs/john-west-sitecore-blog/posts/2015/03/require-membership-in-multiple-roles-in-the-sitecore-aspnet-cms.aspx
You need the roles for the current user from SAP? There is an Odata API for that: http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4c/5bde6197817511e10000000a42189b/content.htm
You could query the API in real-time, but it would of course require a login to SAP for the current user.
Or - you could use another API and connect via a service user.

How to deactivate a liferay user for particular organization?

I have a requirement to deactivate a user for a particular organization.In liferay we deactivate the user directly by control panel under users tool.if i deactivate,The user will deactivate in portal level so it is applicable to all organizations not to particular organization.so can i do manual code for this or is there any alternative by default?
User Management in Liferay is global - to the whole portal. You authenticate to the portal, thus a deactivated user can't be authenticated to the portal.
You can make users members of Organizations or site - and this membership (or other organization- or site-level roles) can be used to provide them with permissions.
If you want them to be able to sign in, don't deactivate them. If you don't want them to access a certain organization, make the content of that organization available to members only - and exclude the user from the members of that organization.
OK you could do this in code level ,
User singleUser=UserLocalServiceUtil.getUser(userId)
singleUser.setStatus(WorkflowConstants.STATUS_DENIED);
UserLocalServiceUtil.updateUser(singleUser);
So basically setting User Status to either WorkflowConstants.STATUS_DENIED, WorkflowConstants.STATUS_EXPIRED or WorkflowConstants.STATUS_INACTIVE will do the work of deactivating particular User.
But you need to research on the aftermath effect of these status field.

I am facing some trouble while rendering page

I have a page of my website..
In that page I have a registration forms and videos and some text...
When I register in registration page and then come back to this page already registered, then registration box disappears..
It looks I have left my rendered tags set to hide the reg form if they are logged in.
Code I am using for that --
<c:HomePageRightReglanding rendered="{!ISPICKVAL($User.UserType,'Guest')}" />
HomePageRightReglanding my component name where I have form to display ...
Please help me out !!
The user to access a public site who user type is guest, but if you have registered, the user type will be change.
The user type is depended on user license.
The category of user license. Each UserType is associated with one or more UserLicense records. Each UserLicense is associated with one or more profiles. In API version 10.0 and later, valid values include:
Standard: user license. This user type also includes Salesforce Platform and Salesforce Platform One user licenses. Label is Standard.
PowerPartner: PRM user whose access is limited because he or she is a partner and typically accesses the application through a partner portal. Label is Partner.
CSPLitePortal: user whose access is limited because he or she is an organization's customer and accesses the application through aCustomer Portal. Label is High Volume Portal.
CustomerSuccess: user whose access is limited because he or she is an organization's customer and accesses the application through a Customer Portal. Label is Customer Portal User.
PowerCustomerSuccess: user whose access is limited because he or she is an organization's customer and accesses the application through a Customer Portal. Label is Customer Portal Manager.
Users with this license type can view and edit data they directly own or data owned by or shared with users below them in the Customer Portal role hierarchy.

Resources