Add existing users of wordpress main site to it's subsite as a subscriber - multisite

I'd setup wordpress multisite.
I have 2 custom user roles:
Business Owner
Employee
The employees on site-1 should be only able to access the site-2 data with same credentials only if the business owner allows to access. There is a form, in select box I have all the employees email addresses. Business owner will select the email id and invite the employees. Right now when I click on subsite->users in dashboard, it shows only administrator. I just want to know how can I add those employees in subsite(site-2)

Related

UiPath - Search role in web table and select it if exist

I’m working in a process to delete roles for several users (500).
I did a process, but I’m seeing it isn’t working well. Only select the checkbox Role, if it is in the beginning.
I’ve created a DataTable, This DataTable contains base information with user_id, my key field to find this particular role and delete it.
In this process, I need to access each user to browse his roles. All roles change according to the user.
My problem is how can I browse the (web table) roles, find and select the correct role, through its checkbox.
Here an image with three cases that could be appears:

How to send request to admin for approval of catalog item?

I am facing some issue in service now workflow.Can someone please help me with the issue .Please find the below description of task and issue :
What I am trying do is :
Create catalog items.
Checkout catalog item.
Approver should approve the request.
Close the ticket.
Process Followed :
Logged in service now instance as a system administrator.
Created two users user1 and user2 with catalog_admin role.
Created one group name catalog_group and added both users in the group.
Added the worlflow in catalog item and set group approver as catalog_group.
Logged in as a user1 and selected item and placed order.
Now no state displayed in the incident.When I checked the ticket there are no approver added.
Logged in as a user2 .
Issue :
User2 is not seeing any incident to approve.Incident created by user1 should be displayed in user2's home page for approval.
My gut feeling tells me that you chose the wrong table; That you created the workflow on the "Catalog Item" table instead of the "Requested Item" table. People seem to forget that an Item is a catalog item as long as it is in the catalog, but from the moment it is requested, a copy is stored to the database as a requested item. Therefore the workflow should happen on the requested item, not the catalog item.
I recreated what you did and everything works as expected. I will post screenshots below, so you could see what you did differently.
I logged in as System Administrator.
Created two users user1 and user2.
Created a group called "catalog_group" and added both users to the group.
Added the role of "approver_user" to the group.
As a best practice, you should add roles to the groups users are in, instead of the users themselves. This is easier to maintain, as the roles are automatically added to the user when they enter a group or removed when they leave a group.
I gave them the approver_user role, instead of the catalog_admin role, because they are approvers and not catalog administrators. Users with the catalog_admin role
Can manage the Service Catalog application, including catalog categories and items.
That might not be what you want. You can read more about the base system roles, here.
Created a new workflow on the Requested Item table.
Created a new Catalog Item with the workflow.
Requested the item as System Administrator.
Finally, I impersonated both User One and User Two, and you can see that they have the item in their approval list.

Yii2 How to filter user list by account wise

I have installed this module (webvimark/user-management) for managing users and roles.
I have the table like user_account fields are userid, accountid, Here I want to filter the users list by account wise, Currently it showing all users to all accounts i want to restrict users by account wise.

How to display different login pages for general customer and wholesaler in Magento?

I need to keep 2 login pages at frontend for general customer group and wholesaler customer group
And admin will confirm customer as wholesaler
So how to check customer has signed up as general or wholesaler
Please advise..
currently magento provide group for customer, so you can put dropdown of group in registration page for user to select for which group he want to sign up and in admin you can see the group assign to user.

{Microsoft CRM 4.0} How to send e-mail to some users who has salesperson security role

I created a workflow . My workflow sends e-mails to users who has salesperson security role. But I have big problem. After I export and import customizations in different company users of old company are shown on the e-mail template. How can I create a worflow which sends e-mail to users who has selected security role.
Regards,
Erdogan Uslu
The workflow editor isn't that powerful. You can't select a bunch of users with certain attributes and apply an action to them. You'll have to create a custom workflow activity. Run as the admin user to retrieve the list of users with a certain role. Base it off the SDk article Retrieve the Roles for a User
You would need to reverse this expression, so to speak. Add a condition expression on the role link, to match on the role name. Then you would remove the condition expression from the system user link. Make the role link a child of the system user link (right now the systemuser is a child of the role link). Change qe.EntityName to "systemuser".
You'll then need to create an e-mail. See SDK articles on sending e-mail and creating workflow activities. Hope this helps.
Using a security role like that is quite a weak mechanism for grouping users. CRM has the concept of a Team. Can't you create a Team, then send your email to the team?

Resources