sharepoint online – How to customize the tooltip when user hover mouse over title of a webpart ContentEditor

Stack Exchange Network

Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

php – Notify the user by e-mail after the creation of a post

I’ve a button, where the user create a post after click it. I want to notify him just after 10 min. I don’t know the best way to do this with PHP. I know how to send the email, what I don’t know is how to schedule this email for a specific time after the action. Has someone an idea?

mobile – What element to focus after user input on a chatbot?

This is similar to What element should have the focus after a search?, but not the same case.

I’m building a chatbot with Flutter (mobile). This is the flow:

  1. Bot asks a question.
  2. User is presented with several fixed options (like radio buttons)
  3. User chooses one of them
  4. String equivalent answer is added to the chat log
  5. Options disappear, since they made sense only for question in point 1
  6. Bot asks new question
  7. User is presented with new options.

I want to make this accessible. I’ve taken a look at role log and it fits great. I’m using a similar equivalent in Flutter and it handles new messages perfectly. The problem is that, since options disappear with each answer, focus disappears too: when the user “tabs” to the next element, focus goes back to the top of the app, and she’d need to scroll back all the list of messages (or find her way with an equivalent but also suboptimal manner) to get to the end, every time.

I can force the focus moving to the last message, but that would clash with the message reading, since that won’t be “polite” (ARIA sense).

For now, I’m not using the aria-live feature (so the app doesn’t read new messages) and I’m moving the focus manually, only after the user submits the info and only to the first unread message. It works, but I find that solution kind of hacky.

What should be the best way to handle this?

sql injection – How can I write a function that will log a user in an old system without knowing any username or password?

I’ll be more specific, I’m studying Internet Security and in my homeworks I must answer to the question that I will describe later; I learned something about code injection in older websites (using the string ‘ OR 1 == 1 // as username will login with any password provided); but what if password related to a username is stored in the server in a folder with the following path:


which credentials will log me into the system, without knowing any legitimate usernames or passwords?

Furthermore in the question it’s specified that the login system is installed on a computer running an OS, and that this operating system is known to have a file with its version (in this case, 1.0.3) in “/system/version.txt”.

Honestly I do not know how this last thing can be related to the question, but I hope that someone can help me to understand what could be the right answer and if and how this thing about the system version is related to the answer.

Thank you very much 🙂

Work e-mail edit/delete of a user in SharePoint 2016

I Want to delete a particular email address using REST API for a user as the owner have left the org and the email is bouncing with delivery failed error message.

Cant delete entire user as used in workflow.

python – Cloud user registration

I developed an app that stores user-generated content in a local sql-lite database.

I would now provide the feature to the user to sync automagically its database with a cloud service. Ideally, I would like to set-up a framework that is easily up-scalableand that could provide a “serious” interface to the external world.

My issue is: I have really and totally NO IDEA on how this should be done. I mean, I am able to write a code in java or python that allows a someone to register to my service using username and password; but I would let it run on my raspberry py on my local network and not expose to the Internet.

I read names online about Django, Flask, Ruby… I have no idea on the differences between all of them and I don’t knbow what’s the best practice to provide such kind of design I would like to create.
Furthermore, I want my app to be able to sync with my service so I suppose that forms to fill are not way to go. I understand that these are web-based methods, so I have to rely on POST and GET methods, so I have to expose some API. But again, I am launching fancy words here and there.

So, question here:

How do I create a cloud-based service that requires user registration to sync user data with a mobile app?

Bonus question: what should I expose/provide to allow 3rd part services like Alexa to access a user database and perform operations on that (like reading it aloud)?

Please, note that also some pointer to keywords to study, or wathever else would be gladly appreciated.

Kind Regards

sql server – A query to show all the ways a user gets his SELECT permissions on a specified table, whether direct on indirect

Is there a ( SQL Server 2017 ) query that will list all the ways a specific user has obtained SELECT permission on a specific table?

I’ve revoked SELECT on that table for the user directly, and have revoked SELECT on that table for roles of which the user is a member; however, the user can still issue SELECT statements against the table in SSMS editor and in TOAD. Yet both TOAD and SSMS show an empty list when I check for permissions on the table.

Get current logged in user from Spring when SessionCreationPolicy.STATELESS is used

I want to implement this example using Keyclock server with Spring Security 5.

I’m going to use OAuth2.0 authentication with JWT token. I’m interested how I can get the current logged in user into the Rest Endpoint?

I have configured Spring Security not to store user sessions using http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS);.

One possible way is to use this code:

Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
if (principal instanceof UserDetails) {
  String username = ((UserDetails)principal).getUsername();
} else {
  String username = principal.toString();

But I don’t know is it going to work. Can someone give some advice for that case?

api – How can i implement user specific calendars in a webapp?

I’m creating a webapp for the management of sportevents and sportclubs in angular.
One of the features is a calendar with events, todos and working shifts. Let’s call them events.
Users have their own events and events assigned to them via groups. Every user could be in a group that has group-level events.

I want the users to be able to see those events in a calendar on the webapp and also to subscribe as internet calendar on their desired calendar app (e.g. Outlook, Spark, etc…).

I’ve been searching for calendar APIs, calendar services, functionalities of the .ical format and I’ve been looking in to the google calendar and google calendar API. But none of them are covering my needs.

How can I implement my calendar? Are there tools for that? Is it possible to develop this thing on my own?

8 – How to allow only the current user to see his own page?

I created a page in a custom module. I want only the current user to access this page on their behalf.

For example, I am using it with ID 51. If I go to :


I can see this page.

If I go on :


I must have an error 403 access denied.

How to do this ?

  path: '/user/{user}/tasks'
    _controller: 'Drupaltask_notifyControllerTaskNotifyUserController::Tasks'
    _title: 'Liste des tâches'
    _permission: 'access content'