Example #1
0
        /// <summary>
        /// Checks if the client is eligible to be reenabled based on the age of their access system account.
        /// </summary>
        public bool AllowReenable()
        {
            bool result = PhysicalAccess.GetAllowReenable(Client.ClientID, GlobalCost.AccessToOld);

            return(result);
        }
Example #2
0
 public void DisablePhysicalAccess()
 {
     PhysicalAccess.DisableAccess(new UpdateClientRequest {
         ClientID = Client.ClientID, ExpireOn = DateTime.Now
     });
 }
Example #3
0
 public IEnumerable <Badge> GetBadges()
 {
     return(PhysicalAccess.GetBadge(Client.ClientID));
 }
Example #4
0
 public void EnablePhysicalAccess()
 {
     PhysicalAccess.EnableAccess(new UpdateClientRequest {
         ClientID = Client.ClientID, ExpireOn = null
     });
 }