> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing User Roles

> This help topic describes how to manage roles for the users of your Portal account.

export const Image = ({src, alt = '', caption, width, height, shadow}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Image -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  const img = <img className={['mega-image-style', shadow ? 'shadow' : ''].join(' ')} src={src} alt={alt} width={width} height={height} style={{
    display: 'block'
  }} />;
  return caption ? <figure>
      {img}
      <figcaption style={{
    textAlign: 'center',
    width
  }}>{caption}</figcaption>
    </figure> : img;
};

export const InlineImage = ({src, alt, height = 16, shadow, width}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: InlineImage -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  if (typeof alt !== 'string') {
    alt = String(alt);
  }
  if (alt === 'undefined') {
    console.error(`${errorPrefix} \`alt\` is required (use "" for decorative images) — rendering an empty string instead`);
    return <></>;
  }
  if (height) {
    height = height.toString().replaceAll(/\D/g, '');
  }
  if (width) {
    width = width.toString().replaceAll(/\D/g, '');
  }
  return <img className={['inline-icon', shadow ? 'shadow' : null, 'm-0'].filter(Boolean).join(' ')} src={src} alt={alt} height={height} width={width} style={{
    display: 'inline',
    verticalAlign: 'middle',
    maxHeight: height ? `${height}px` : undefined,
    maxWidth: width ? `${width}px` : undefined,
    height: height ? `${height}px` : undefined,
    width: width ? `${width}px` : undefined
  }} />;
};

export const Link = ({href, children}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Link -';
  if (typeof href !== 'string') {
    href = String(href);
  }
  if (!href || href === 'undefined') {
    console.error(`${errorPrefix} the \`href\` property is required — rendering an empty string instead`);
    return <></>;
  }
  if (href.includes('{') || href.toUpperCase().includes('%7B')) {
    console.error(`${errorPrefix} could not resolve a variable in href "${href}" — rendering an empty string instead`);
    return <></>;
  }
  const isExternal = (/^https?:\/\//).test(href);
  return <a href={href} className="link" target={isExternal ? '_blank' : undefined} rel={isExternal ? 'noreferrer' : undefined}>
      {children ?? href}
      {isExternal && <span className="sr-only"> (opens in a new tab)</span>}
    </a>;
};

You can assign user roles to control the actions and permissions of users. This table summarizes each user role and its supported functionality, indicated by a **✓**.

| <br /><br />     **Action**                          | <InlineImage src="/images/portal-admin/user-management/companyadmin-icon.svg" alt="Company Admin" width={35} height={35} /> <br /> **Company Admin** | <InlineImage src="/images/portal-admin/user-management/technicaladmin-icon.svg" alt="Technical Admin" width={35} height={35} /> <br /> **Technical Admin** | <InlineImage src="/images/portal-admin/user-management/technicalcontact-icon.svg" alt="Technical Contact" width={35} height={35} /> <br /> **Technical Contact** | <InlineImage src="/images/portal-admin/user-management/finance-icon.svg" alt="Finance" width={35} height={35} /> <br /> **Finance** | <InlineImage src="/images/portal-admin/user-management/financecontact-icon.svg" alt="Financial Contact" width={35} height={35} /> <br /> **Financial Contact** | <InlineImage src="/images/portal-admin/user-management/readonly-icon.svg" alt="Read Only" width={35} height={35} /> <br /> **Read Only** |
| ---------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------: |
| Create services                                      |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                                                                                                                  |                                                                **✓**                                                                |                                                                                                                                                                |                                                                                                                                          |
| Delete services                                      |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                                                                                                                  |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Design services                                      |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                   **✓**                                                                  |
| Update a service                                     |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Update the term on a service, including bulk updates |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Approve a VXC in Megaport Marketplace                |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| View services                                        |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                   **✓**                                                                  |
| Lock and unlock services                             |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Access the MVE Console                               |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Restart MVE                                          |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Create, view, and edit service keys                  |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                                                                                                                  |                                                                **✓**                                                                |                                                                                                                                                                |                                                                                                                                          |
| View usage                                           |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                   **✓**                                                                  |
| Enable and update billing markets                    |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                                                                                          |
| View markets                                         |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                                                                                          |
| View and pay invoices                                |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                                                                                          |
| Waive early termination fees                         |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                                                                                                                  |                                                                **✓**                                                                |                                                                                                                                                                |                                                                                                                                          |
| Create, update, and delete credit cards              |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                                                                                          |
| Create, view, and update users                       |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Update user details                                  |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                   **✓**                                                                  |
| View Megaport Marketplace profile                    |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                   **✓**                                                                  |
| Update Megaport Marketplace profile                  |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Create and manage Megaport Marketplace forms         |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Subscribe to notifications                           |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                   **✓**                                                                  |
| Create, update, and delete API keys                  |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| View User Activity logs                              |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                               **✓**                                                                              |                                                                **✓**                                                                |                                                                              **✓**                                                                             |                                                                   **✓**                                                                  |
| View Company Activity logs                           |                                                                         **✓**                                                                        |                                                                                                                                                            |                                                                                                                                                                  |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |
| Create, update, and delete webhooks                  |                                                                         **✓**                                                                        |                                                                            **✓**                                                                           |                                                                                                                                                                  |                                                                                                                                     |                                                                                                                                                                |                                                                                                                                          |

Here are some details to consider when creating user roles:

* **Company Admin** -- Company Admins have access to all user privileges. We recommend limiting the number of Company Admins to only those who require full access, but defining at least two for redundancy.
* **Technical Admin** -- This role is for technical users who know how to create and approve orders.
* **Technical Contact** -- This role is for technical users who know how to design and modify services but don't have the authority to approve orders.
* **Finance** -- Finance users should have a financial responsibility within the organization while also understanding the consequences of their actions if they delete or approve services.\
  *Note:* While creating services, direct customers can see the cost of the service before deploying. It is also possible to see the cost of deployed services by selecting a service in the Portal and viewing the Details tab.
* **Financial Contact** -- This user role is similar to the Finance role without the ability to place and approve orders, delete services, or administer service keys.
* **Read Only** -- Read Only is the most restrictive role. Note that a Read Only user can view service details which you might want to keep secure and private.

You can add user roles when you create a new user, or you can edit user information to change their role. For more information about adding a new user, see [Adding and Modifying Users](/portal-admin/user-management).

<Note>
  To edit users, you must be a Company Admin.
</Note>

**To manage user roles and permissions**

1. Visit the <Link href="https://portal.megaport.com">Megaport Portal</Link> and log in.
2. Choose Company > Users.\
   The Manage Users page appears. Using this page, you can add a new user, edit existing user privileges and contact information, and reset Multi-Factor Authentication (MFA) per user.
   <Image src="/images/portal-admin/user-management/add-new-user-in-the-portal.png" alt="Manage Users" shadow={true} width={700} />
3. Click <InlineImage src="/images/portal-admin/user-management/edit-user-icon.png" alt="Edit user profile" height={30} />(Edit) to modify an existing user’s role or click **New User** to set up a new user and define their role.
4. Select the role for the user.
5. Click **Save**.
