/// <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); }
public void DisablePhysicalAccess() { PhysicalAccess.DisableAccess(new UpdateClientRequest { ClientID = Client.ClientID, ExpireOn = DateTime.Now }); }
public IEnumerable <Badge> GetBadges() { return(PhysicalAccess.GetBadge(Client.ClientID)); }
public void EnablePhysicalAccess() { PhysicalAccess.EnableAccess(new UpdateClientRequest { ClientID = Client.ClientID, ExpireOn = null }); }