I am working on an agent to get quotas for mailfiles but for some users the database property sizequota returns 0 when there is a quota set.
I can see the quota from the admin client and using NotesPeek.
Has anyone seen this type of behaviour or know how to make it work.
Thanks
Matt.
Subject: cant get datebase sizequota property
I use this logic successfully, does your agent signer have full access to the files?
'db.SizeQuota is in kilobytes
'rounded to megabytes
currentQuota = Round (db.SizeQuota/1024, 0)
desiredQuota = 500 'MB
db.SizeQuota = desiredQuota*1024
Subject: RE: cant get datebase sizequota property
Yes signer is a manager,and it is the SizeQuota property.
It is getting it for some but not others, looking at it today it looks like old mailfiles (ie made back in R4 days) They are all upgraded and new ODS now. Perhaps it is to do with the age, any thoughts??
Ta
Matt
Subject: RE: cant get datebase sizequota property
The next thing I’d try is to clear all quotas using Lotus’ Admin Client, then running your script to set them as appropriate.
Good luck, I’m out of ideas at this point!
Subject: RE: cant get datebase sizequota property
We found that there was an error in the code, we were looking for the wrong file name.Thanks for your help.