univention.management.console.modules.schoolusers package#
- univention.management.console.modules.schoolusers.get_user_from_request(user_dn, access, as_udm_object=False)[source]#
- univention.management.console.modules.schoolusers.udm_admin_save_user_with_extended_attributes(dn)[source]#
- class univention.management.console.modules.schoolusers.Instance(*args, **kwargs)[source]#
Bases:
SchoolBaseModule- passwordexpiry_to_days(timestr)[source]#
Calculates the number of days from now to the password expiration date.
The result is always rounded up to the full day. The time function used here are all based on Epoch(UTC). Since we are not interested in a specific date and only in a time difference the actual timezone is neglectable.