User getting calendar invations for another users calendar

Hi,
When our Princpal went on LSL our AP was the acting Principal. He was given full access to the Principal's calendar. The Principal has returned to work and I have removed all permissions but the AP still gets a copy of all calendar invites. This is concerning
as he doesn't need to know who is meeting with the Principal. The invite says "Recieved for Principal" and "Your Calendar couldn't be checked..."  
I have run the powershell command "Get-MailboxFolderPermission principal:\Calendar" but it does not list the AP as having any permisions. The Principal's Outlook does not list the AP as having permissions.
Does anyone know why the AP is getting the invites or how to stop them?
Thanks, Robert
PS Exchange 2013 CU7 Win Server 2012 Standard. We are running in Hybrid but both these accounts are local.

Hi John,
No, he does not have delegate access. He used to but I have removed it. It is like the UI says he has no access but somewhere in the system he still has access.
I have just added him back with the "availability only" permission and the notifications appear to have stopped. So with no delegate there was notifications but with the delegate permission of availability only there are no notifications.
Robert

Similar Messages

  • I ordered Illustrator for another user.  I received an invitation that was accepted, logged in and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person?

    I ordered Illustrator via creative cloud for another user.  I received an invitation that was accepted  and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person? 

    Cloud as a Gift https://forums.adobe.com/thread/1665610

  • Issue creating a MatView for another user w/ a private DB Link

    I am having an issue creating a materialized view for another user where the select statement for the MV uses a private db link. Looks like the following:
    Logged in as user X, I run:
    create materialzied view Y.foo
    (select blah
    from tbl@y_priv_db_link_here);
    When I try to run this, I get a permission issue. User X has DBA privilege, user Y has create MV priv and has select priv on the table in the db link.
    I can create this MV logged in as user Y. Cant create this logged in a user Y in test or prod environment, so this isn't an option.
    Any ideas on how I can create this logged in a user X? I believe the issue here is that since this is a private db link owned by user Y, user X doesn't have access to this db link.
    thanks.

    Here is what I was trying to do:
    SQL> CREATE MATERIALIZED VIEW extract.ADDRESS
    2 TABLESPACE xxx
    3 BUILD IMMEDIATE
    4 REFRESH
    5 COMPLETE
    6 ON DEMAND
    7 WITH PRIMARY KEY
    8 AS
    9 ( SELECT ... FROM address@CM_TO_CPD);
    FROM pwb_address@CM_TO_CPD)
    ERROR at line 11:
    ORA-01031: insufficient privileges
    Message was edited by:
    Jim S

  • FindGroups - Error while getting group list for login user

    Hi All,
    I am using below code snippet to search a group in OIM but it gives me "Error while getting group list for login user" error message.
    tcResultSet rsetAss = null;
    tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
    HashMap mapGrp = new HashMap();
    mapGrp.put("Groups.Group Name","DEF_GROUP");
    rsetAss = groupIntf.findGroups(mapGrp);     
    And i am ruuning this code using xelsysadm logon.
    com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);     
    Any guess?
    Thanks & Regards
    Inbaa.

    Here it is Rajiv,
    public class GetUserApprover {
    private String defGroup = "DEF_GROUP";
    public tcUtilityFactory getUtilFactory()
    tcUtilityFactory utilFactory = null;
    try
         logger.debug("Initializing the utilFactory");
         com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);
    catch(Exception ex)
         logger.info("Error while getting the utilFactory" + ex.getMessage());
         System.out.println(ex.getMessage());
    return utilFactory;
    public String getGroupKey(String defGroup){
              String groupKey = null;
              tcUtilityFactory utilFactory = getUtilFactory();
              if(utilFactory != null)
         System.out.println("utilFactory not null. Searching for group:" +defGroup );
                   try
              tcResultSet rsetAss = null;
              tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
              HashMap mapGrp = new HashMap();
              mapGrp.put("Groups.Group Name","DEF_OWNER_GROUP");
              System.out.println("Finding Group....");
              rsetAss = groupIntf.findGroups(mapGrp);          
              System.out.println("RowCount-->" +rsetAss.getRowCount() );
              rsetAss.goToRow(0);
              groupKey = rsetAss.getStringValue("Groups.Key");
         System.out.println("GroupKey-->" + groupKey);
         catch(Exception e){
              System.out.println("Error" + e.getMessage());
              return (java.lang.Object)groupKey;
    }

  • Install Lync Web App Plugin For Another User

    I'm wondering if there is a way to install the plugin for the Lync Web App for another user. The reason why is that administrative permissions are required and our users are not allowed to have those permissions. I have the MSI but when I look at it, it
    says
    "Cannot install [ProductName].Setting the AllUsers property is not allowed because [ProductName] is a per-user application."
    Is there a way that I can install the MSI, maybe through the command line or another method, and specify another user so it installs to their profile?
    Thanks!

    Hi,
    This is typically achieved by allowing exceptions in your software control strategy for the required executable;
    LWAPlugin.exe
    LWAVersionPlugin.exe
    AppSharingHookController.exe
    AppSharingHookController64.exe
    This typically occurs in VDI deployments where users are not able to install software onremote server, so the above rule is added to the Software Restriction Policy (providing that's what you're using to control application installation).
    I'm not familiar with any associated cmd line switches I'm afraid.
    Kind regards
    Ben
    Blog:www.gecko-studio.co.uk/ 
    Twitter:
      LinkedIn:
      Facebook:
    Note: If you find a post informative, please mark it so using the arrow to the left. If it answers a question you've asked, please mark the thread as answered to aid others when they're looking for solutions to similar problems
    or queries.

  • Reseting KM List Layout Profile for another user

    Hello,
    how can an administration reset layout profile personalization settings for another user.
    Some users in our system have done the following:
    KM Resource->Details->Settings->Presentation->Tab:Settings for You->Change Layout Profile
    This creates some problems with our custom layout which is not used because of the user's personalization settings.

    Hi,
    Look at this:
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/d3/85503e30a9d549e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/d3/85503e30a9d549e10000000a114084/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/eb/4bc041f123c817e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/eb/4bc041f123c817e10000000a155106/frameset.htm</a>
    If you want you can remove the service permissions for Layout from the users, So it won't happen again.

  • Ktpass: failed getting target domain for specified user

    Hi all,
    I am trying to generate keytab file by following document 
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15740/wna.htm#REGADWNA
    relevant section 7.3.2.
    Environment we are using as follows:
    Microsoft windows server 2008
    Command executed :
    ktpass /princ [email protected] /mapuser [email protected] /pass Micro123 /out c:\poc.keytab
    Here NTDS (AD windows service name)
    MSCAD.AE (AD domain name)
    [email protected] (AD user)
    Micro123 (Password)
    c:\poc.keytab (file location)
    while executing display error as response:
    C:\>ktpass /princ [email protected] /mapuser [email protected] /pass Micro123 /out c:\poc.keytab
    Cannot bind to default domain: 0x54b
    ktpass:failed getting target domain for specified user.
    Your assistance in this regard would be highly desirable.
    Regards,
    Syed Waqar

    I don't think you have your principal name defined correctly. 
    It should be in the following format:
    host/[email protected]
    http://technet.microsoft.com/en-us/library/cc753771.aspx
    Paul Bergson
    MVP - Directory Services
    MCITP: Enterprise Administrator
    MCTS, MCT, MCSE, MCSA, Security, BS CSci
    2012, 2008, Vista, 2003, 2000 (Early Achiever), NT4
    Twitter @pbbergs http://blogs.dirteam.com/blogs/paulbergson
    Please no e-mails, any questions should be posted in the NewsGroup.
    This posting is provided AS IS with no warranties, and confers no rights.

  • I want to get desktop path for client user using webutil

    oracle database 11g
    oracle forms 10 g
    client windows
    i want to get desktop path for client user using webutil
    as i want to save file in this path

    To get the user's path to their Desktop is a two step process.  First, you have to echo the %USERPROFILE% to a output file and secondly, read the directory from the output file in to Forms.  The code would look similar to the following:
    /* When-Button-Pressed trigger */
    DECLARE
      v_temp_path VARCHAR2(250);
      v_temp_file VARCHAR2(12) := 'webutil.log';
      f_file Client_Text_IO.File_Type;
    BEGIN
      Client_Host('cmd /c echo %USERPROFILE%\Desktop > c:\'||v_temp_file);
      f_file := Client_Text_Io.FOpen('c:\'||v_temp_file, 'R');
    Client_Text_Io.Get_Line(f_file,v_temp_path);
    Client_Text_Io.FClose(f_file);
       b_dummy := WebUtil_File.Delete_File('C:\'||v_temp_file);
      --At this point, you have the path stored in the v_temp_path variable.
      --You can assign this variable to a block item or reference it directly in your code.
    END;
    When you reference the value of the v_temp_path, don't forget to wrap the value in double-quotes (" ") becuase the path will have spaces.  Since your plan is to write a file to the user's desktop, your call to FOPEN will look  like this:
    f_file := Client_Text_Io.FOpen('"'||v_temp_file||'"','W');
    Hope this helps,
    Craig...

  • Created help file either won't open or opens blank when emailed or copied for another user to see it.

    Created help file either won't open or opens blank when emailed or copied for another user to see it.
    Our HR person made a help file she wants to email to someone or copy to a network share.
    -If she emails it the other person cannot open it.
    -If she copies it even from her desktop where she saved it to the folder with all the other files, it opens blank.
    Any help would be appreciated.

    I think they must be swapping out .html for .chm in DW or something. What the OP describes sure sounds like what happens when you do that.
    @dfiore27101
    DW doesn't support .chm file types. Adding the extension doesn't compress the images into the file to create a true .chm.
    Adding .chm will make a perfectly good .html file stop displaying in DW though.
    An easier way to send someone .html help files would be to archive their folder as a .zip then email the .zip. The recipient would then need to extract the archive to view the files in their browser.
    I don't know of any way to create real .chm files in DW.

  • How to set default User preferences in Analyzer for all users

    How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty

    I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH

  • Creating a short cut for another users calendar

    Hello,
    I don't know if you can do this but it would really help if it is possible.
    I created a calendar for travel information. It is planned that all in the office will use it when out of the office. They will create an entry in their calendar and use the travel calendar as a resource so all travel appears in one resource (travel calendar).
    In order to open this calendar for viewing I have to goto file- open -other users folder. Then the travel calendar opens. I would like to create this calendar as a shortcut or icon so I dont need to open it from the file open...... each time. Is this possible? anyone have another idea?
    thanks for any help.
    Jason

    You cannot do shortcuts of this type with the current 9.0.4.x release. However, the future 10gR1 will make things significantly better.
    With the 10gR1 release, shortcuts will be supported. You will be able to browse through your folderlist to access users calendars (rather than going through the FILE | OPEN every time). And if you use Outlook 2003, the 10gR1 release will also support the 'side-by-side' calendar views and the 'My Calendar' shortcuts.
    OCFO 10gR1 is currently in beta, and is expected out later this year.
    Hope that helps,
    --Marc

  • Uncertain behaviour in calendar service for moved users

    Hi freinds,
    I transferred users from old version 6.2 to new version 7u3 using ldap export-import. All users are capable of accessing thier mail interface through convergence.
    Those users were not configured for calendar service in the previous msg instance and calendar service was not installed. Then I added new service pkg (earth) with calendar server facility to a one of transferred domain and then add this service pkg to a user in this domain. Although service pkg assignment get success there is an uncertain behaviour of setting attributes for each user.
    For some users following two attributes ( Viewable through new DA )are set properly while for others it is not set at all. For "test01" user convergence does not show the calendar interface properly after pressing the "calendar" button. But for user "test04" the calendar interface is shown with all featuers.
    For "test01" user
    Owned Calendar:
    Subscribed Calendar:
    For "test04" user
    Owned Calendar: [email protected]$test04 testing
    Subscribed Calendar: [email protected]$test04 testing
    Since I am doing a test for confirming possibility of getting calendar service enabled for old users
    I did not remove unnecessary LDAP attributes from the exported ldif files.
    Can somebody explain the reason for such an uncertainty.
    Thanks

    Hi shane,
    Thanks for the reply. pls find my answers and observations below. Appreciate your intervention.
    Q. What version of Delegated Administrator-DA are you using? Are you using Direct LDAP or Access Manager mode?
    A. This is a test for a large scale user migration from old msg server 6.2 (2005Q1)/ DS 5.2 to new commsuite ver 7u3
    The old system used Delegated administrator integrated in to AM 6 2005Q1. The new delegated administartor is ver 7.
    ( Direct LDAP connection is configured with out AM installed)
    Q. How were the "old" users provisioned -- which tool?
    A. Some users belongs to virtual domains were added through DA. Other users were added directly to LDAP using a customised
    tool.
    Q.Were the test01 and test04 accounts both from the "old" environment?
    A. Yes they both were created using old version DA. When do a ldap search both have same kind of attributes in the old system.
    Q. Does an account exist for the test01 user in the calendar database e.g.
    A. Yes. For both test01 and test04 accounts exist and they are enabled
    Q. What are the "ics" parameters for the test01 and test04 accounts set to e.g.
    A.
    bash-3.00# ./ldapsearch -D "cn=directory manager" -w password -b "o=example.com,o=isp" uid=test01 | grep -i ics
    objectClass: icscalendaruser
    icsFirstDay: 2
    icsTimezone: Asia/Calcutta
    icsDWPHost: newmail.example.com
    icsStatus: active
    icsCalendar: [email protected]
    bash-3.00# ./ldapsearch -D "cn=directory manager" -w password -b "o=example.com,o=isp" uid=test04 | grep -i ics
    objectClass: icscalendaruser
    icsStatus: active
    icsCalendar: [email protected]
    icsTimezone: Asia/Calcutta
    icsFirstDay: 2
    icsSubscribed: [email protected]$test04 testing--->A
    icsDWPHost: newmail.example.com
    icsCalendarOwned: [email protected]$test04 testing--->B
    bash-3.00#
    Note : pls look at the attributes I marked as A and B. I observed they added in to the user entry after the user
    logged in to convergence interface and click on the "calendar" button.For test04 these attributes were added. But
    for test01 it was not!
    Q. What do you define as "unnecessary LDAP attributes"?
    A. In the entries I impored from the old version there are some attributes that are not defined in the new DS ver 6.3.
    I did a diff check between a new user entry created in the new system and a user entry imported from the old system.
    My aim is to find exact attributes needed per a user entry to make calendar service/IM service up and then add these
    attributes to each user imported from old system using an automated script.I think I do not need to rectify above problem
    at the DA level. After I found the list of necessary LDAP attributes for the task I can add them manually to one of
    old user entry and test it. Is that a recommended way of doing it?
    Regards,

  • E-Recruiting - Recruiter URL works for one user and doesn't for another

    Hi
    I am new to e-Recruiting, so any help will be greatly appreciated.
    We are in the process of configuring the SAP e-recruiting module on  an existing HCM system.  It is only a demo system. 
    We started off with the IDES, with SAP sample data.
    We activated the BSPs via SICF.
    We generated the BSP URLs via program rcf_generate_urls.
    We picked two existing employees (PERNRS) in the system and linked test IDs (USERID1, USERID2) to them in infotype 105.  Both USERID1 and USERID2 have BASIS/Superuser authorizations.
    When USERID1 runs the recruiter startpage it displays the page correctly.  Pernr of USERID1 has a Candidate(NA Object) linked to it's CP object.
    When USERID2 runs the recruiter start page it gives an internal error.  This Id's pernr does not have a candidate object. 
    Should there be a NA object for every CP object?  Does any one have some business process guides that may help us understand the relationships between the objects?
    Please advise.
    Thank you
    Amina

    Hello Amina,
    not everyone should have a candidate (NA) object, every one MUST have a candidate object. No matter which role someone plays within the e-recruiting system (recruiter, manager, admin, internal candidate, external candidate, talent manager, ...) he needs a candidate to work with the system.
    Assuming you have an ERP2005 (= E-Recruiting 600) you can use report RCF_USER_CREATE to create users for test purposes. For the productive environment you have to set up HR -> E-recruiting integration and can run HRALXSYNC to create candidates for existing employees.
    I am not sure how much business process documentation there is in sap help. I have to admit I prefere learning from the system. Perhaps a very rough overview:
    e-rec brings the following objects:
    NA - Candidate
    NB - Requisition / Application Group
    NC - Posting
    ND - Application
    NE - Candidacy
    NF - Talent Group
    furthermore e-recruting uses some additional objects from the hr base and other components (P Employee, CP Central Person, US User, BP Business Partner, O OrgUnit, S Position, QK qualification group, Q qualification, VA/VB/VC Questionaire and its elements)
    NA - The candidate is the central representation of everyone in e-recruiting. A Candidate is always linked to a CP which is linked to a BP and a US. If the person is an employee the CP is linked to the P object, too. (Hint: for integrated systems the user for an employee is not linked in HRP1001 but retrieved from IT0105 directly, e-recruiting uses a standard function of HR here, the hr function modules for reading object releations virtualize this assingment as hrp1001 relation).
    NB - The NB object has currently 3 slightly different tasks. As requisition it is the internal view for an internal/external hiring request, it defines what you are looking for e.g. "ABAP programer, 40 hours/week, place of work London, ..". As application group it allows to accept applications for "areas" where you have currently no exact position to hire but regularely look for canditates. Application groups channalize unsolicited applications e.g. Interns, Engineers. Third usage is the requisition for succession planning - not really important.
    NC - Posting is supposed to be the outside view. It contains the texts for the requisition published in the different channels. as you might to use a different text for the different media a requisition can have several postings. A posting has one or more posting instances / publications. They are not an hr object type, they define the channel with publication duration and language where you publish your posting.
    ND - The application can be compared with the hardcover application. If a candidate applies he creates an application. The application is linked to the candidate of course and as the candidate applies through a certain channel the application is linked to the posting.
    NE - The candidacy is the assignment to a requisition. You could say it is the task / intention to check a candidate for the requisition so it is linked to the requisition and the candidate. As the candidate applies for the job described by the requisition (application group are treated the same here) an application is always linked to at least one candidacy. If a recruiter decides based on the candidates profile that he is interesting for another open positions he can add more candidacies to the application to check the candidate for these requisitions. There is also the posibilit that you create a candidacy w/o application. Every external who applied and every employee is in the system even if he has no active application. External candidates can even register to the system w/o applying. You can check this pool for suitable candidate an assign them to a requisition. This is a candidacy w/ an application. You can later request a candidate to apply to this requisition but it is theoretical possible to process the complete hiring just with a candidacy.
    NF The Talent group is used to structure the huge amount of candidates in the pool. E.g. you can form a talent group "High Potentials - Design Engineers". You can use these groups to easier find suitable known candidates if a matching requisition is opened. But they are also needed for pool development. For short applicant groups you can track them and try to stick with your company till you get the right opening for them.
    The other object are linked to this core. Qualifications are linked to requisitions as requirement and linked to candidates of course. OrgUnits and Positions can be linked to requisitions to link to OM. Questionaires are assigned to candidates at all for general appraisal or to candidacies to appraise the suitability for the requisition or to track interview, assessment results.
    There ore other "objects" in e-recruiting which are not represented by an OTYPE. One example is mentioned above the publication. Others are recruiting team and recruiting plan. If you need information to one of these just post another reply.
    Hope that gives some basic overview about the objects.
    Best Regards
    Roman Weise

  • Address books for another user sharing my computer for now

    At this time I am sharing this computer with one other person ..I have set up and named another address book for them.
    Is there a way that their email addresses do not get added too mine.. is there a setting where we can set it up so each one has there emails being added to their own addy book.. At the moment there emails are being added too mine... this problem will be ongoing fpr a period of time....
    Thank you in advance. :)

    ''re: At this time I am sharing this computer with one other person .''
    Usually, when people share a computer, each user has their own User Account which they logon using a password.
    This means that Thunderbird then runs in that User Account and creates a profile in that User Account which holds all the Profile data, emails, passwords, address books etc specifically for that users email address mail accounts.
    So then no one can read each others emails nor access other peoples passwords and they can use their own address books.
    So if you are sharing a computer and sharing a Profile, then it is advisable that you do not have any stored / remembered passwords, unless that person is eg: spouse and you do not mind them having full access to all your personal stuff.
    You have a couple of Options:
    '''1.''' Create User Accounts on your computer so that each user has their own User Account, Create a Thunderbird Profile folder and set up mail accounts storing personal emails and address books.
    This is the only method offering best security.
    '''2. ''' Create another Profile for the other person. then create mail account for that Profile. This will then have it's own folders, address book.
    Use Profile Manager to create another Profile.
    http://kb.mozillazine.org/Profile_Manager
    Make sure to uncheck the box 'Don't ask at startup' to force it to ask which Profile to use.
    Any user can still access any profile.
    '''3. ''' In current situation.
    Stop auto saving outgoing email addresses that are not in the address books as this uses only one setting per Profile.
    Tools > Options > Composition > Addressing tab
    uncheck: 'Automatically add outgoing email addresses to my'
    click on OK
    Then you would need to use an Addon in order to be able to select a specific address book when you wish to add the email address/contact to an address book. At the moment, if you click on the FROM header email address or right click and select 'Add to address book', this adds to the default address book called 'Personal Address Book'. This you cannot change because you are using the same User account and Profile.
    But with the addon 'MorefunctionforAddressBook'
    Right click on eg: From header and choose > Save recipients addresses' > as Contacts
    This allows you to select the address book you require.
    Addon 'MorefunctionforAddressBook':
    * https://nic-nac-project.org/~kaosmos/morecols-en.html
    Download to desktop.
    In Thunderbird:
    Tools > Addons
    Clickon on gear wheel icon and select : Install addon from file;
    locate file you downloaded and click on Open
    You may need to restart Thunderbird.

  • Get all Groups for current user

    Hi I try to get all groups for the current logged on user. This is what I do:
    First I try to search with the IGruopSearchFilter to obtain all unique Group IDs. I always get an proxy error by doing this, maybe the query is to much.
    Then I want to use the method group.isUserMember(user.getUniqueID() to check whether the user is a member of that group or not.
    Is there a better way to obtain all groups for a user (without using a query IGroupSearchFilter)?
    Thanks ahead for your help.
    Burkhardt

    Burkhadrt,
    have you tried this?
    https://media.sdn.sap.com/javadocs/preNW04/SP2/60_sp2_javadocs/ume/com/sap/security/api/IUser.html#getParentGroups(boolean)
    This should give you an iterator for all groups the given user is assigned to.
    Hope it helps... and if so:
    if (helpful) {
      points++
    Regards,
    Dominik

Maybe you are looking for