0 votes

Hello,
Is it possible to easily hide the "set photo" option within the user self service portal?
Thanks

by (180 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

Yes, for example, you can use Security Roles for this purpose. You can configure a Security Role that disallows users to change their own photos. Since, in the Web Interface, users are able to perform only those operations for which they have sufficient permissions, if you deny the permission to edit photos, the set photo option will be hidden from users.

The permissions granted to users to perform operations on their own accounts is granted by the built-in User Self-Service Security Role. It is assigned to Self, which means that it grants permissions to users to perform operations on their own accounts, and includes All Objects in the Assignment Scope, which means that the Role applies to all users. To deny the permission to users to edit their own photos:

  1. Launch Adaxes Administration Console.
  2. In the Console Tree, expand the service node that represents your Adaxes service.
  3. Navigate to Configuration \ Security Roles \ Builtin and select the User Self-Service Role. The permissions of the Role will be displayed in the Result Pane (located to the right).
  4. Right-click in the Permissions section and click Add.
  5. Select the User object type.
  6. In the Property-specific permissions section, select the Write 'Picture' property permission in the Deny column.
  7. Click OK.
  8. Save the Security Role.

Related questions

0 votes
1 answer

Hello, We are currently looking to implement the password self service option from your software. We are looking to hide the enrollment/dis-enroll option from the ... enrolled user cannot dis-enroll themselves (either on purpose or accident). Regards Josh

asked Mar 19, 2014 by jtop (700 points)
0 votes
1 answer

I'm looking at this onliner Set-AdmUser -Identity $DN -Replace @{AADPHoto = $photoBytes} -AdaxesService localhost -Server. I get an illegal operation error. Wondering what I ... the photo in AD and Azure at the same time to avoid waiting for synchronization.

asked Jan 30 by mightycabal (1.0k points)
0 votes
1 answer

Hello, I am able to pull photo's of our employees from our HR solution into our active directory. However the HR api only provides a base64 encoded string. This string then ... work, if you have any better solutions or see any problems. Please let me know.

asked Feb 23, 2022 by vlg (40 points)
0 votes
1 answer

Hello, When running the supplied script for importing a user photo into AD we encounter the following error: Exception calling "SetInfo" with "0" argument(s): "A ... /www.adaxes.com/script-repository/import-user-photo-s244.htm Thank you for your assistance!

asked Oct 26, 2020 by sgordon213 (110 points)
0 votes
1 answer

By default when you upload a user photo to Adaxes, it converts it to less than 100kb for Active Directory, that photo is synced to Azure AD, and once and only ... older script that could grab the photo before the compression to 100kb, ideally after cropping?

asked Jun 16, 2020 by ethanthekiwi (30 points)
3,549 questions
3,240 answers
8,232 comments
547,822 users