Clear mailbox expiration date
Hello,
With a Delphi application I can change the expiration dat of a GW-mailbox. But I can't figure out how to clear it. Who does ?
Ralf Vellinga
Ralf Vellinga wrote:
> I already found the solution. Just place 1-1-1970 1:00:00 in the GW
> mailboxexpdate and after a commit the date is cleared.
That does not appear to be the full story. Here at GMT+1200, a value of
1-1-1970 + 12 hrs + 1 hr works fine, but I received feedback this
morning that the formula of 1-1-1970 + GMT offset + 1:00:00 does not
work correctly for negative GMT offsets. Maybe I need to subtract
1:00:00 instead, I'm awaiting feedback on whether that works.
In the past I've read the expiration time value from the "NGW: Mailbox
Expiration Time" instead of retrieving the value from GW, but this
attribute contains a zero value for "no expiration date" (corresponding
to 1/1/1970 0:0:0) when which differs from the date/time value which
must be passed to put_MailboxExpDate to remove an expiration date. While
trying to retrieve the value via get_MailboxExpDate I discovered how
little I know about VARIANT types - how do I extract the value returned
into something useful using C i.e. a date/time string or an integer
value representing seconds since 1/1/1970 0:0:0? I just spend an hour
messing around with this and searching for examples but the answer still
eludes me!
TIA, John
DevSup SysOp 24
Similar Messages
-
Removing a mailbox expiration date/time
Anyone know what value to specify to remove a mailbox expiration date/time?
If I remove the value via C1, then the value returned by the Admin API as a
64 bit real number is 0 representing 30/12/1899 0:0:0. However, setting this
value results in C1 displaying an expiration date/time in 1943. What does
work on my system (GW 7.0.3) is to specify 1-Jan-1970 13:00:00 but that does
not work on other systems, possibly suggesting the value to specify is
timezone dependent, although experimentation along those lines has so far
proved unsuccessful.
TIA, JohnI did eventually get an answer from Novell on this. Removing a mailbox
expiration date has not been supported, but supposedly is from 8.0 SP1
onwards where a value of zero should do the job.
John
"John Baird" <[email protected]> wrote in message
news:IRNQl.1491$[email protected]..
> Thats not working here. If I pass in a date/time of 1/1/70:0:0:0 C1 shows
> 31/12/69:23:00:00. The only date/time that removes the expiration
> date/time here is 1/1/70:13:00:00. Oddly, aside from that specific
> date/time C1 1.3.6h, shows any date/time earlier than 15/3/70:2:00:00 as
> one hour ealier than I specified. The value 1/1/70:13:00:00 does not
> appear to work elsewhere. If I treat it as 1/1/70:00:00:00 + GMT offset +
> 1 hour (our GMT offset is +1200), the corresponding value does not work in
> other timezones. Frustrating ...
>
> Thanks for responding.
> John
>
> "Tommy Mikkelsen" <[email protected]> wrote in message
> news:qNHQl.1439$[email protected]..
>> Not sure, but beleave you should set it to Unix Start Date...
>>
>>
>> --
>> Tommy Mikkelsen
>> IT Quality A/S, Denmark
>> Novell Support Forums SYSOP
>>
>> Sorry, but no support through email
>> Be a GroupWiseR, go http://www.groupwiser.net
>
> -
How to get mailbox expiration date using cmdlets 2007 and 2010?
i wants to know which cmdlets used to find the expiration date of mailbox in exchange server 2007 and exchange server 2010. I have a cmdlets that gives mailbox expiration date for exchange server 2013. Is there any equivalent cmdltes available for exchange
server 2007 and exchange server 2010. cmdlets to get expiration date of mailbox for exchange server 2013 is as follow
Get-ADUser -Filter * –Properties Name, EmailAddress, AccountExpirationDate, GivenName | select Name, EmailAddress, AccountExpirationDate, GivenName | where {$_. AccountExpirationDate –ne $null}Hi Belinda
Thanks for your valuable replies
Please mention PS command to get the
expiration date for AD accounts created for Exchange 2010 and Exchange 2007.
Thanks a lot -
i have LR from 2 through 4.4, I am simply trying to adjust CR2s, and convert the them JPEG. LR says my Perfectly Clear is expired but my update is up to date and all paid for. What is Perfectly Clear and how do i get this puppy to be part of the team?
Perfectly Clear is a 3rd party commercial plugin for Lightroom.
http://www.athentech.com/products/plugins/
Have you ever installed it as a trial in the past? -
Does JCE 1.2.2 make use of a certificate with an expiration date?
Does JCE 1.2.2 make use of a certificate with an expiration
date?
If so, what's the date?The validation code which checked for certificate expiration was only found in JCE 1.2.1. It WAS REMOVED from JCE 1.2.2 and all successive releases like JCE in JDK 1.4.x and 5.x (and soon in 6.x). This expiration problem was the primary reason for releasing JCE 1.2.2 over three years ago. Export control regulations changed following the release of JCE 1.2.1, and Sun released 1.2.2 shortly thereafter so that customers wouldn't have this expiration problem.
This change is documented as the first bullet in the change log for JCE 1.2.2, which is found both in the product distribution itself and on the following JCE product page:
http://java.sun.com/products/jce/jce122_changes.html
That said, JCE 1.2.2 is indeed signed with a certificate which is valid until October 2006, HOWEVER the JCE 1.2.2 and JCE in JDK 1.4.x/5.x code no longer checks that expiration date. All it cares about is that the code signature is valid.
My understanding is that BOTH JDK 1.3.x and JCE 1.2.2 are slated for End-of-Life on March 30th, 2006, and will no longer be supported by Sun. Both should continue to work after that time, but will no longer be supported.
I hope that helps clear the confusion. -
How can I add the expiration date at line item level
My User is selling voucher. The voucher is sell at line item. eg GV$5, GV$10,etc
Each voucher line item sold need to be entered with a EXPIRATION date of that voucher.
Maybe 3 months from issue, maybe 6months/1 year from issue.
How can I add this to the sales order line item level?
Which field can I used and how to configure?Hi Colin ,
The question is not very clear , but i assume that you are asking about the self expiry date of the particular material ,
1. The setting you can do by activating shelf life data in material master :Plant data/stor1
2. its better to have a batch managed material for that you can sort the material acording the self expiry date.
3. Once you maintain self expiry date system by default pick the material at the time of delivery
Note-Shelf life expiry it will give the life of the material from the day of manfacture,remaining shelf life also will give .
Hope it is helpful
Best regards
Venkat -
Batch Determination Expiration Date / Customer
Hello Experts,
Could you please give me a hand with his requirement?
At this moment, there is a batch strategy determination in delivery according to expiration date, First Expiration Date, First Out, FEFO, and it is working fine.
In addition to this configuration it is necesary that just for some customers the expiration date should not be under a year, otherwise they would not receive this products.
Could you let me know if there is a standard way of achieving this?
Thanks a lot for your help.Hello Lina
Not fully clear about your requirement.
Here are my suggestions:
1) Bring in Customer into the access fields.
Path: SPRO/IMG/Logistics - General/Logistics - General/Batch Management/Batch Determination and Batch Check/Access Sequences/Define Sales and Distribution Access Sequences
If this does not work
2) Control Expiration date processing with custom code (User exit or BADI):
Path: SPRO/IMG?Logistics - General/Logistics - General/Batch Management/Shelf Life Expiration Date (SLED)/Set Up Customer Exit to Calculate/Check the SLED or BAdI: Control of Shelf Life Expiration Date Processing
Hope this helps. -
Hi All,
My program displays an idoc list(screen 100). Then if user selects any row in the method
gets the index no and details of that idoc are displayed in another screen(screen 200) .
Then control returns to this screen again. Now if user selects any row from idoc list (screen 100) then data is displayed along with data from previous screen .
In PBO of screen 200 : some code is :
create object go_docking
exporting
dynnr = '200'
extension = 65
side = cl_gui_docking_container=>dock_at_top.
create object go_grid_detail
exporting
i_parent = go_docking.
some code
create object go_custom_cont
exporting
container_name = 'DISPLAY_IDOC_CONTENT_200'.
create object go_grid_detail
exporting
i_parent = go_custom_cont.
some more code
call method go_grid_detail->set_table_for_first_display
exporting
is_layout = gs_layout
it_toolbar_excluding = lt_exclude
changing
it_fieldcatalog = fieldcatalog1
create object go_docking
exporting
dynnr = '200'
extension = 65
side = cl_gui_docking_container=>dock_at_bottom.
create object go_grid_detail
exporting
i_parent = go_docking.
In PAI of 200 screen i have used :
some code
free go_grid_detail.
free go_custom_cont.
go_docking->free( ). free go_docking.
After freeing all data and on call of screen 200 from screen 100 still it shows data from which was there previously on screen 200.
How can clear all previous data . Even i have free the docking still not working .
Kindly please help.Hi,
if go_grid_detail is type ref to cl_gui_alv_grid, call go_grid_detail->free( ) before container->free( ).
Regards,
Clemens -
How can I display the password expiration date for a user
I have created a GUI (using PrimalForms) which runs powershel scripts to pull information like user ID, email address, last logon ec. for the helpdesk to help establish the validity of some user claims of "it worked yesterday" and the like.
I have been asked to add the password expiration date, but I am struggling to get the code for this addition.
Does anyone know how I can include this, and have it in a human readable format?
The current scripts (there are 3) allow the helpdesk staff to search on user ID and display name, the third provides the last logon, it was impossible to include this in the other scripts so I added an extra search button and called it good. An example of
these scripts is below (please note, PrimalForms needs a slightly different syntax in order to get the results displayed, but the core script is standard PS, I use Powershell 3.0)
$results.Text=Get-ADUser -Filter "sAMAccountName -eq '$($EntryBox.text)'" -Properties DisplayName, sAMAccountName, mail, extensionattribute5, PasswordLastSet, PasswordExpired, PasswordNeverExpires, buMemberOf, telephoneNumber, msExchOmaAdminWirelessEnable, whenCreated, whenChanged, enabled, AccountExpirationDate | select givenName, surname, DisplayName, sAMAccountName, mail, extensionattribute5, PasswordLastSet, PasswordExpired, PasswordNeverExpires, buMemberOf, telephoneNumber, msExchOmaAdminWirelessEnable, whenCreated, whenChanged, enabled, AccountExpirationDate | Out-String
$results.Focus()
for info:
$results.text is the window in the GUI results are displayed in
$entrybox.text is the text box the helpdesk staff use to input the user ID or display name of the account they are querying
$results.focus simply tells the script to put the results in the results.text window
The screenshot below shows the current setup, this is purely to put the above information into perspective. Obviously some of the information displayed has been removed/redacted along with our logo.Hi,
Here's an example you can build from:
$maxPasswordAge = 120
Get-ADUser USER -Properties PasswordLastSet |
Select SamAccountName,
PasswordLastSet,
@{N='PasswordLifeRemaining';E={$maxPasswordAge - ((Get-Date) - $_.PasswordLastSet).Days}},
@{N='PasswordExpirationDate';E={(Get-Date $_.PasswordLastSet).AddDays($maxPasswordAge)}}
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing) -
How To Change Default Expiration Date for Portal User in Linux and Windows?
Hello,
I have a couple of environments I recently installed:
1. Oracle Application Server 10 Release 2 (10.1.2) SEOne on Windows
2. Oracle Application Server 10g Release 2 (10.1.2) Enterprise Edition on Linux
I heard the portal and orcladmin user passwords will expire in about 60 days. I want to prevent this from happening. How can I set the expiration date to never expire for both these users? Or at least give me some warning?
I heard that you can do this through the Oracle Directory Manager. However, I am unsure as which server to enter on the field. I've used the following:
<servername>.hostname.com/389
<DBname>.hostname.com/389
They say 389 is the default port. Since I did not really
Does anyone have any ideas?You have the answer in yours hands:
Search for "60 days" in the forum
How can I enfore Password Expiry Without Lockout?
for instance.
For the servername, it's the name of your server and the port is depending of your platform (have a look to $ORACLE_HOME_INFRA/install/portlist.ini) and
chech the value for: Oracle Internet Directory port
Patrick. -
How do I clear files in data & usage
How do I clear files in data & usage, or is it important and has is not to be removed
I don't beleive you can. It's attached to the app the app that requires it. If you're looking to clear space, you can look for individual files to delete within the app, such as podcasts within the podcast app. Or you would have to delete the app entirely.
-
HT1657 How can I delete a rented movie from my ipad before its expiration date?
How can I delete a watched rented movie from my Ipad before its expiration date?
Hello, K M Cartwright.
Thank you for visiting Apple Support Communities.
You definitely can delete the movie prior to the expiration date. However, the movie will automatically disappear from your iTunes library 24 (or 48) hours after you've begun viewing it. Here are the steps on how to delete iTunes media.
How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
http://support.apple.com/kb/HT5772
Cheers,
Jason H. -
I was bought iPhone4 16 GB on Jan 07, 2013 from online shop from Laos they told me that this iPhone from Apple in Hongkong (first hand) but I check for the warranty is already expire date. What should we do? I want to know about my iPhone4 first hand or second hand. How can i check?
This will show you warranty status and give you an idea
of when originally sold:
https://selfsolve.apple.com/agreementWarrantyDynamic.do -
HT201209 I don't see an expiration date on my ITunes gift card?
WHERE IS THE EXPIRATION DATE ON MY ITUNE GIFT CARD?
In iOS 5 - the iPod app became the Music App. I assume that is what you are looking for. You can access your shared library in the Music App in the More button at the bottom of the App.
If you are talking about the settings - go to Settings>Music>Home Sharing and enter your ID and password. -
Alert based on Batch Expiration Date
Scenario:
Batch Managed Items
Type: for every transaction
Goods receipt PO > Batch setup window > "Expiration date" ( activate expiration date field from form settings) > set date
Requirement:
An alert to be sent to the purchase dept. user 10 days prior to the defined "expiration date" (in the batch setup window)
vijay
Edited by: SU Vijay on Oct 6, 2008 3:42 PMUse this query
SELECT T0.[ItemCode], T0.[ItemName],T0.[BatchNum], T0.[WhsCode],
T0.[ExpDate],datediff(dd,getdate(),T0.[ExpDate]) as 'Days to Expire'
FROM OIBT T0 where datediff(dd,getdate(),T0.[ExpDate]) =10
Maybe you are looking for
-
How can I transfer apps from iPad 2 to ipad3?
How can I transfer apps from iPad 2 to iPad 3?
-
ITunes can't find most of my music!
Up to now, synching my iPad to my iMac has been a piece of cake. Suddenly on the latest synch, I get an alert informing me that half my list can't be found and will not be synched to my iPad. So I investigated and found all the music that iTunes clai
-
To connect multiple databases..
in my model C1 -- interface -- S1 -- interface -- DAS1 -- DB1 -- DB2 -- DB3 i established connection between c1 and DB1.. now im retrieving a field from DB1 and i with that field i want to search in other databases DB2 and DB3 and put all the tuples
-
Locking a block after X number of user entry records
Is there a way to lock a block after X many records have been entered by the user? I dont have a problem after the data is entered and saved, its just when they are entering the information the first time do I see the problem where the user can use t
-
I have an HP6310 that is wired to a wireless router and now I cannot print. It says the printer is offline and I cannot change it back to online......I do not have that option. Can anyone help!!! THANKS!